From 6fa365935f6a06ab3790bd80038908fa88e61c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Dom=C3=ADnguez?= Date: Wed, 26 Aug 2020 15:17:41 +0200 Subject: [PATCH] Add "socks" feature from reqwest --- matrix_sdk/Cargo.toml | 1 + matrix_sdk/src/lib.rs | 1 + 2 files changed, 2 insertions(+) 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,