diff --git a/Cargo.toml b/Cargo.toml index f7a18c7fe..8b131fb17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,12 +14,12 @@ rust-version = "1.59" [features] default = [] arbitrary = ["quickcheck"] -destination = ["http_types", "net", "prost-types", "tonic/codegen"] -http_types = ["http", "thiserror"] +destination = ["http-types", "net", "prost-types", "tonic/codegen"] +http-types = ["http", "thiserror"] identity = ["prost-types", "tonic/codegen"] inbound = ["net", "prost-types", "tonic/codegen"] net = ["ipnet", "thiserror"] -tap = ["h2", "http_types", "net", "prost-types", "tonic/codegen"] +tap = ["h2", "http-types", "net", "prost-types", "tonic/codegen"] [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"] diff --git a/src/lib.rs b/src/lib.rs index 394122e69..c04ab261f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ #[cfg(feature = "net")] pub mod net; -#[cfg(feature = "http_types")] +#[cfg(feature = "http-types")] pub mod http_types; #[cfg(feature = "destination")]