Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions http-body-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ authors = [
"Lucio Franco <luciofranco14@gmail.com>",
"Sean McArthur <sean@seanmonstar.com>",
]
edition = "2018"
edition = "2021"
readme = "../README.md"
documentation = "https://docs.rs/http-body-util"
repository = "https://github.com/hyperium/http-body"
Expand All @@ -26,25 +26,24 @@ keywords = ["http"]
categories = ["web-programming"]
rust-version = "1.61"

[features]
default = []
channel = ["dep:tokio"]
full = ["channel"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
bytes = "1"
futures-core = { version = "0.3", default-features = false }
http = "1"
http-body = { version = "1", path = "../http-body" }
http-body = { path = "../http-body", version = "1" }
pin-project-lite = "0.2"

# optional dependencies
tokio = { version = "1", features = ["sync"], optional = true }

[dev-dependencies]
futures-util = { version = "0.3", default-features = false }
tokio = { version = "1", features = ["macros", "rt", "sync", "rt-multi-thread"] }
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread", "sync"] }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
channel = ["dep:tokio"]
full = ["channel"]
2 changes: 1 addition & 1 deletion http-body/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ authors = [
"Lucio Franco <luciofranco14@gmail.com>",
"Sean McArthur <sean@seanmonstar.com>",
]
edition = "2018"
edition = "2021"
readme = "../README.md"
documentation = "https://docs.rs/http-body"
repository = "https://github.com/hyperium/http-body"
Expand Down