Make reqwest features "blocking" and "json" non-optional

This commit is contained in:
Alexander Krotov
2020-01-17 11:25:59 +03:00
parent 7540770dec
commit 08dd0e34d1

View File

@@ -17,7 +17,7 @@ hex = "0.4.0"
sha2 = "0.8.0"
rand = "0.7.0"
smallvec = "1.0.0"
reqwest = "0.10.0"
reqwest = { version = "0.10.0", features = ["blocking", "json"] }
num-derive = "0.3.0"
num-traits = "0.2.6"
async-smtp = { git = "https://github.com/async-email/async-smtp" }
@@ -85,7 +85,7 @@ path = "examples/repl/main.rs"
[features]
default = ["nightly", "ringbuf", "reqwest/blocking", "reqwest/json"]
default = ["nightly", "ringbuf"]
vendored = ["native-tls/vendored", "reqwest/native-tls-vendored"]
nightly = ["pgp/nightly"]
ringbuf = ["pgp/ringbuf"]