We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f9d26f commit a8864f9Copy full SHA for a8864f9
gateway-api/Cargo.toml
@@ -39,6 +39,5 @@ uuid.workspace = true
39
features = [ "k8s-openapi/v1_32" ]
40
41
[features]
42
-default = ["standard"]
43
-standard = []
+default = []
44
experimental = []
gateway-api/src/lib.rs
@@ -1,13 +1,11 @@
1
pub mod duration;
2
pub use duration::Duration;
3
+pub mod standard;
4
+pub use standard::*;
5
6
cfg_if::cfg_if! {
- if #[cfg(feature="standard")] {
- pub mod standard;
7
- pub use standard::*;
8
- } else if #[cfg(feature = "experimental")] {
+ if #[cfg(feature = "experimental")] {
9
pub mod experimental;
10
- pub use experimental::*;
11
} else {
12
13
}
0 commit comments