Skip to content
Open
7 changes: 5 additions & 2 deletions s3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ futures-util = { version = "0.3", optional = true, default-features = false }
hex = "0.4"
hmac = "0.12"
http = "1"
http-body = { version = "1.0.1", optional = true }
http-body-util = { version = "0.1.3", optional = true }
log = "0.4"
maybe-async = { version = "0.2" }
md5 = "0.8"
Expand All @@ -79,15 +81,16 @@ tokio = { version = "1", features = [
"io-util",
], optional = true, default-features = false }
tokio-stream = { version = "0.1", optional = true }
tower-service = { version = "0.3.3", optional = true }
url = "2"

[features]
default = ["fail-on-err", "tags", "tokio-native-tls"]

sync = ["attohttpc", "maybe-async/is_sync"]
with-async-std-hyper = ["with-async-std", "surf/hyper-client"]
with-async-std = ["async-std", "futures-util", "surf", "sysinfo"]
with-tokio = ["futures-util", "reqwest", "tokio", "tokio/fs", "tokio-stream", "sysinfo"]
with-async-std = ["dep:http-body", "dep:http-body-util", "dep:tower-service", "async-std", "futures-util", "surf", "sysinfo"]
with-tokio = ["dep:http-body", "dep:http-body-util", "dep:tower-service", "futures-util", "reqwest", "tokio", "tokio/fs", "tokio-stream", "sysinfo"]

blocking = ["block_on_proc", "tokio/rt", "tokio/rt-multi-thread"]
fail-on-err = []
Expand Down
Loading