diff --git a/crates/const-str/Cargo.toml b/crates/const-str/Cargo.toml index cabf5d3..70bd150 100644 --- a/crates/const-str/Cargo.toml +++ b/crates/const-str/Cargo.toml @@ -16,7 +16,7 @@ default = [] std = [] proc = ["dep:const-str-proc-macro"] regex = ["proc", "const-str-proc-macro?/regex"] -http = ["proc", "const-str-proc-macro?/http"] +http = ["proc", "const-str-proc-macro?/http", "dep:http"] case = ["proc", "const-str-proc-macro?/heck"] all = ["std", "proc", "regex", "http", "case"] unstable = [] @@ -25,6 +25,9 @@ unstable = [] all-features = true rustdoc-args = ["--cfg", "docsrs"] +[dependencies] +http = { version = "1.0.0", optional = true } + [dependencies.const-str-proc-macro] version = "1.0.0" path = "../const-str-proc-macro" @@ -32,5 +35,4 @@ optional = true [dev-dependencies] regex = "1.7.0" -http = "1.0.0" heck = "0.5.0"