forked from mirror/Riven
1
0
Fork 0

Properly set up the reqwest tls features

users/mingwei/unknown-variant-messy
Thijs Molendijk 2021-07-04 19:40:39 +02:00 committed by Mingwei Samuel
parent f182191680
commit 032d3ac97d
1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,11 @@ categories = [ "api-bindings", "web-programming::http-client" ]
features = [ "nightly" ]
[features]
default = [ "default-tls" ]
nightly = [ "parking_lot/nightly" ]
default-tls = [ "reqwest/default-tls" ]
native-tls = [ "reqwest/native-tls" ]
rustls-tls = [ "reqwest/rustls-tls" ]
@ -29,7 +33,7 @@ lazy_static = "1.4"
log = "0.4"
num_enum = "0.5"
parking_lot = "0.11"
reqwest = { version = "0.11", features = [ "gzip", "json" ] }
reqwest = { version = "0.11", default-features = false, features = [ "gzip", "json" ] }
scan_fmt = { version = "0.2", default-features = false }
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"