Commit ca23e1745e

ca23e1745e6e2ba235550360e1def1457e2f3857

parent: dba5410a49

Unsigned

badlandspray <92253501+badlandspray@users.noreply.github.com> · 2022-10-02 09:06 UTC
committer: <poljar@termina.org.uk>

add socks feature

Layout: unified · split

Cargo.lock +13
@@ -2059,6 +2059,7 @@ dependencies = [
2059 "serde_urlencoded", 2059 "serde_urlencoded",
2060 "tokio", 2060 "tokio",
2061 "tokio-native-tls", 2061 "tokio-native-tls",
2062 "tokio-socks",
2062 "tower-service", 2063 "tower-service",
2063 "url", 2064 "url",
2064 "wasm-bindgen", 2065 "wasm-bindgen",
@@ -2591,6 +2592,18 @@ dependencies = [
2591 "tokio", 2592 "tokio",
2592] 2593]
2593 2594
2595[[package]]
2596name = "tokio-socks"
2597version = "0.5.1"
2598source = "registry+https://github.com/rust-lang/crates.io-index"
2599checksum = "51165dfa029d2a65969413a6cc96f354b86b464498702f174a4efa13608fd8c0"
2600dependencies = [
2601 "either",
2602 "futures-util",
2603 "thiserror",
2604 "tokio",
2605]
2606
2594[[package]] 2607[[package]]
2595name = "tokio-util" 2608name = "tokio-util"
2596version = "0.7.4" 2609version = "0.7.4"
Cargo.toml +1 −1
@@ -35,7 +35,7 @@ features = ["async", "config_macro"]
35 35
36[dependencies.matrix-sdk] 36[dependencies.matrix-sdk]
37version = "0.6.0" 37version = "0.6.0"
38features = ["markdown"] 38features = ["markdown", "socks"]
39 39
40[profile.dev.package] 40[profile.dev.package]
41sha2 = { opt-level = 2 } 41sha2 = { opt-level = 2 }