Skip to content

Commit 426e1e8

Browse files
committed
chore(body): update http-body to published RCs
1 parent 95a153b commit 426e1e8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ futures-core = { version = "0.3", default-features = false }
2727
futures-channel = "0.3"
2828
futures-util = { version = "0.3", default-features = false }
2929
http = "0.2"
30-
http-body = { git = "https://github.com/hyperium/http-body", rev = "0e20ca9" }
31-
http-body-util = { git = "https://github.com/hyperium/http-body", rev = "0e20ca9" }
30+
http-body = "1.0.0-rc.1"
31+
http-body-util = { version = "0.1.0-rc.1", optional = true }
3232
httpdate = "1.0"
3333
httparse = "1.6"
3434
h2 = { version = "0.3.9", optional = true }
@@ -45,6 +45,7 @@ socket2 = { version = "0.4", optional = true }
4545

4646
[dev-dependencies]
4747
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
48+
http-body-util = "0.1.0-rc.1"
4849
matches = "0.1"
4950
num_cpus = "1.0"
5051
pretty_env_logger = "0.4"
@@ -91,7 +92,7 @@ client = []
9192
server = []
9293

9394
# C-API support (currently unstable (no semver))
94-
ffi = ["libc"]
95+
ffi = ["libc", "http-body-util"]
9596

9697
# internal features used in CI
9798
nightly = []

0 commit comments

Comments
 (0)