Implement cel validation derive(Validated)
macro for generated CRDs
#3560
Annotations
8 warnings
unused import: `std::collections::BTreeMap`:
kube-derive/src/custom_resource.rs#L3
warning: unused import: `std::collections::BTreeMap`
--> kube-derive/src/custom_resource.rs:3:5
|
3 | use std::collections::BTreeMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused imports: `FromAttributes` and `path_to_string`:
kube-derive/src/custom_resource.rs#L7
warning: unused imports: `FromAttributes` and `path_to_string`
--> kube-derive/src/custom_resource.rs:7:18
|
7 | util::{self, path_to_string, IdentString},
| ^^^^^^^^^^^^^^
8 | FromAttributes, FromDeriveInput, FromField, FromMeta,
| ^^^^^^^^^^^^^^
|
unused imports: `Attribute`, `ExprCall`, and `Stmt`:
kube-derive/src/custom_resource.rs#L13
warning: unused imports: `Attribute`, `ExprCall`, and `Stmt`
--> kube-derive/src/custom_resource.rs:13:36
|
13 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^ ^^^^^^^^ ^^^^
|
unused import: `spanned::Spanned`:
kube-derive/src/custom_resource.rs#L13
warning: unused import: `spanned::Spanned`
--> kube-derive/src/custom_resource.rs:13:18
|
13 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^^^^^^^^
|
unused import: `std::collections::BTreeMap`:
kube-derive/src/custom_resource.rs#L3
warning: unused import: `std::collections::BTreeMap`
--> kube-derive/src/custom_resource.rs:3:5
|
3 | use std::collections::BTreeMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused imports: `FromAttributes` and `path_to_string`:
kube-derive/src/custom_resource.rs#L7
warning: unused imports: `FromAttributes` and `path_to_string`
--> kube-derive/src/custom_resource.rs:7:18
|
7 | util::{self, path_to_string, IdentString},
| ^^^^^^^^^^^^^^
8 | FromAttributes, FromDeriveInput, FromField, FromMeta,
| ^^^^^^^^^^^^^^
|
unused imports: `Attribute`, `ExprCall`, and `Stmt`:
kube-derive/src/custom_resource.rs#L13
warning: unused imports: `Attribute`, `ExprCall`, and `Stmt`
--> kube-derive/src/custom_resource.rs:13:36
|
13 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^ ^^^^^^^^ ^^^^
|
unused import: `spanned::Spanned`:
kube-derive/src/custom_resource.rs#L13
warning: unused import: `spanned::Spanned`
--> kube-derive/src/custom_resource.rs:13:18
|
13 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^^^^^^^^
|