diff --git a/matrix_sdk/Cargo.toml b/matrix_sdk/Cargo.toml index 64cd9ce4..e6e65a5b 100644 --- a/matrix_sdk/Cargo.toml +++ b/matrix_sdk/Cargo.toml @@ -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"] diff --git a/matrix_sdk/src/lib.rs b/matrix_sdk/src/lib.rs index 549ec518..6817a10b 100644 --- a/matrix_sdk/src/lib.rs +++ b/matrix_sdk/src/lib.rs @@ -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,