Skip to content

Commit 5457ea7

Browse files
committed
Add rustls-tls reqwest support
1 parent 68e4985 commit 5457ea7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

s3/Cargo.toml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust-s3"
3-
version = "0.22.9"
3+
version = "0.22.10"
44
authors = ["Drazen Urch", "Nick Stevens"]
55
description = "Tiny Rust library for working with Amazon S3 and compatible object storage APIs"
66
repository = "https://github.com/durch/rust-s3"
@@ -23,7 +23,7 @@ base64 = "0.12.0"
2323
chrono = "^0.4.0"
2424
hex = "^0.4.0"
2525
hmac = "^0.7.1"
26-
reqwest = {version = "0.10.4", features = ["native-tls", "json", "stream"]}
26+
reqwest = {version = "0.10.4", features = ["json", "stream"]}
2727
serde_derive = "^1.0.101"
2828
serde = "^1.0.101"
2929
serde-xml-rs = "0.4.0"
@@ -33,14 +33,18 @@ url = "^2.1.0"
3333
futures = "0.3.4"
3434
tokio = {version="0.2.13", features=["macros", "io-util", "stream"]}
3535
rand = "0.7.3"
36-
simpl = "0.1.0-alpha"
36+
simpl = "0.1.0"
3737
aws-region = "0.21.0"
3838
aws-creds = "0.22.1"
3939
log = "0.4.8"
4040
once_cell = "1.3.1"
4141
percent-encoding = "2.1.0"
4242

4343
[features]
44+
default = ["native-tls"]
4445
no-verify-ssl = []
4546
fail-on-err = []
4647
path-style = []
48+
native-tls = ["reqwest/native-tls"]
49+
rustls-tls = ["reqwest/rustls-tls"]
50+

0 commit comments

Comments
 (0)