Implement derive(ValidateSchema)
macro for generating cel validation on CRDs
#3561
Annotations
6 warnings
unused imports: `FromAttributes` and `path_to_string`:
kube-derive/src/custom_resource.rs#L5
warning: unused imports: `FromAttributes` and `path_to_string`
--> kube-derive/src/custom_resource.rs:5:18
|
5 | util::{self, path_to_string, IdentString},
| ^^^^^^^^^^^^^^
6 | FromAttributes, FromDeriveInput, FromField, FromMeta,
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused imports: `Attribute`, `ExprCall`, and `Stmt`:
kube-derive/src/custom_resource.rs#L11
warning: unused imports: `Attribute`, `ExprCall`, and `Stmt`
--> kube-derive/src/custom_resource.rs:11:36
|
11 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^ ^^^^^^^^ ^^^^
|
unused import: `spanned::Spanned`:
kube-derive/src/custom_resource.rs#L11
warning: unused import: `spanned::Spanned`
--> kube-derive/src/custom_resource.rs:11:18
|
11 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^^^^^^^^
|
unused imports: `FromAttributes` and `path_to_string`:
kube-derive/src/custom_resource.rs#L5
warning: unused imports: `FromAttributes` and `path_to_string`
--> kube-derive/src/custom_resource.rs:5:18
|
5 | util::{self, path_to_string, IdentString},
| ^^^^^^^^^^^^^^
6 | FromAttributes, FromDeriveInput, FromField, FromMeta,
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused imports: `Attribute`, `ExprCall`, and `Stmt`:
kube-derive/src/custom_resource.rs#L11
warning: unused imports: `Attribute`, `ExprCall`, and `Stmt`
--> kube-derive/src/custom_resource.rs:11:36
|
11 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^ ^^^^^^^^ ^^^^
|
unused import: `spanned::Spanned`:
kube-derive/src/custom_resource.rs#L11
warning: unused import: `spanned::Spanned`
--> kube-derive/src/custom_resource.rs:11:18
|
11 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^^^^^^^^
|