Skip to content

Implement cel validation derive(Validated) macro for generated CRDs #3560

Implement cel validation derive(Validated) macro for generated CRDs

Implement cel validation derive(Validated) macro for generated CRDs #3560

Triggered via pull request November 24, 2024 19:04
Status Success
Total duration 1m 0s
Artifacts

clippy.yml

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

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