Skip to content

Commit fe6d63e

Browse files
committed
socks5: fix features
1 parent 81e81ae commit fe6d63e

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ all = [
6464
eidolon = ["eidolon-auth"]
6565

6666
# Addresses
67-
tor = ["cypheraddr/tor"]
68-
i2p = ["cypheraddr/i2p"]
69-
nym = ["cypheraddr/nym"]
67+
tor = ["cypheraddr/tor", "socks5-client/tor"]
68+
i2p = ["cypheraddr/i2p", "socks5-client/i2p"]
69+
nym = ["cypheraddr/nym", "socks5-client/nym"]
7070
mixnets = ["tor", "i2p", "nym"]
71-
dns = ["cypheraddr/dns"]
71+
dns = ["cypheraddr/dns", "socks5-client/dns"]
7272
p2p-ed25519 = ["cypheraddr/p2p-ed25519"]
7373
p2p-secp256k1 = ["cypheraddr/p2p-secp256k1"]
7474

socks5-client/Cargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ license = { workspace = true }
1616
amplify = { workspace = true }
1717
cypheraddr = { workspace = true }
1818

19+
[features]
20+
dns = ["cypheraddr/dns"]
21+
tor = ["cypheraddr/tor"]
22+
nym = ["cypheraddr/nym"]
23+
i2p = ["cypheraddr/i2p"]
24+
1925
[package.metadata.docs.rs]
2026
all-features = true
2127
rustc-args = ["--cfg", "docsrs"]

0 commit comments

Comments
 (0)