-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from Kuadrant/clippy
Clippy
- Loading branch information
Showing
14 changed files
with
37 additions
and
2,364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,48 @@ | ||
#[path = "protobufs"] | ||
pub mod envoy { | ||
#[path = "."] | ||
pub mod config { | ||
#[path = "."] | ||
pub mod core { | ||
#[path = "envoy.config.core.v3.rs"] | ||
// clippy will barf on protobuff generated code for enum variants in | ||
// v3::socket_option::SocketState, so allow this lint | ||
#[allow(clippy::enum_variant_names, clippy::derive_partial_eq_without_eq)] | ||
pub mod v3; | ||
pub mod v3 { | ||
tonic::include_proto!("envoy.config.core.v3"); | ||
} | ||
} | ||
} | ||
|
||
#[path = "."] | ||
pub mod extensions { | ||
#[path = "."] | ||
pub mod common { | ||
#[path = "."] | ||
pub mod ratelimit { | ||
#[path = "envoy.extensions.common.ratelimit.v3.rs"] | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
pub mod v3; | ||
pub mod v3 { | ||
tonic::include_proto!("envoy.extensions.common.ratelimit.v3"); | ||
} | ||
} | ||
} | ||
} | ||
|
||
#[path = "."] | ||
pub mod r#type { | ||
#[path = "envoy.r#type.v3.rs"] | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
pub mod v3; | ||
pub mod v3 { | ||
tonic::include_proto!("envoy.r#type.v3"); | ||
} | ||
} | ||
|
||
#[path = "."] | ||
pub mod service { | ||
#[path = "."] | ||
pub mod ratelimit { | ||
#[path = "envoy.service.ratelimit.v3.rs"] | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
pub mod v3; | ||
pub mod v3 { | ||
tonic::include_proto!("envoy.service.ratelimit.v3"); | ||
} | ||
} | ||
} | ||
} | ||
|
||
#[path = "protobufs"] | ||
pub mod xds { | ||
#[path = "."] | ||
pub mod core { | ||
#[path = "xds.core.v3.rs"] | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
pub mod v3; | ||
pub mod v3 { | ||
tonic::include_proto!("xds.core.v3"); | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.