Skip to content

Commit

Permalink
chore(dependencies): reduce default dependencies (#3327)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Sep 28, 2023
1 parent 4281b44 commit a6dbda1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ futures-util = { version = "0.3", default-features = false }
http = "0.2"
http-body = "=1.0.0-rc.2"
http-body-util = { version = "=0.1.0-rc.3", optional = true }
httpdate = "1.0"
httparse = "1.8"
h2 = { version = "0.3.9", optional = true }
itoa = "1"
tracing = { version = "0.1", default-features = false, features = ["std"] }
pin-project-lite = "0.2.4"
tokio = { version = "1", features = ["sync"] }
want = "0.3"

# Optional

httpdate = { version = "1.0", optional = true }
libc = { version = "0.2", optional = true }
want = { version = "0.3", optional = true }

[dev-dependencies]
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
Expand Down Expand Up @@ -78,8 +78,8 @@ http1 = []
http2 = ["dep:h2"]

# Client/Server
client = []
server = []
client = ["dep:want"]
server = ["dep:httpdate"]

# C-API support (currently unstable (no semver))
ffi = ["dep:libc", "dep:http-body-util"]
Expand Down

0 comments on commit a6dbda1

Please sign in to comment.