Skip to content

Implement derive(ValidateSchema) macro for generating cel validation on CRDs #3561

Implement derive(ValidateSchema) macro for generating cel validation on CRDs

Implement derive(ValidateSchema) macro for generating cel validation on CRDs #3561

Triggered via pull request November 24, 2024 20:51
Status Success
Total duration 1m 1s
Artifacts

clippy.yml

on: pull_request
clippy_nightly
51s
clippy_nightly
Fit to window
Zoom out
Zoom in

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, | ^^^^^^^^^^^^^^^^