Skip to content

Commit

Permalink
properly mark optional dependencies optional
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Jan 25, 2024
1 parent e24f0d9 commit a376675
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
hyper = "1.1.0"
futures-channel = "0.3"
futures-util = { version = "0.3.16", default-features = false }
http = "1.0"
http-body = "1.0.0"
bytes = "1"
pin-project-lite = "0.2.4"
futures-channel = { version = "0.3", optional = true }
socket2 = { version = "0.5", optional = true, features = ["all"] }
tracing = { version = "0.1", default-features = false, features = ["std"] }
tracing = { version = "0.1", default-features = false, features = ["std"], optional = true }
tokio = { version = "1", optional = true, features = ["net", "rt", "time"] }
tower-service ={ version = "0.3", optional = true }
tower = { version = "0.4.1", optional = true, features = ["make", "util"] }
Expand Down Expand Up @@ -57,7 +57,7 @@ full = [
"tokio",
]

client = ["hyper/client", "dep:tower", "dep:tower-service"]
client = ["hyper/client", "dep:tracing", "dep:futures-channel", "dep:tower", "dep:tower-service"]
client-legacy = ["client"]

server = ["hyper/server"]
Expand Down

0 comments on commit a376675

Please sign in to comment.