Add "socks" feature from reqwest

This commit is contained in:
Alejandro Domínguez 2020-08-26 15:17:41 +02:00
parent 54391040a4
commit 6fa365935f
2 changed files with 2 additions and 0 deletions

View file

@ -22,6 +22,7 @@ encryption = ["matrix-sdk-base/encryption", "dashmap"]
sqlite_cryptostore = ["matrix-sdk-base/sqlite_cryptostore"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
socks = ["reqwest/socks"]
docs = ["encryption", "sqlite_cryptostore", "messages"]

View file

@ -24,6 +24,7 @@
//! keys. If this is disabled and `encryption` support is enabled the keys will
//! by default be stored only in memory and thus lost after the client is
//! destroyed.
//! * `socks`: Enables SOCKS support in reqwest, the default HTTP client.
#![deny(
missing_debug_implementations,