Cargo Features
[dependencies]
hyper-tor-connector = { version = "0.1.0", default-features = false, features = ["socks", "arti"] }
- default = socks
-
The
socks
feature is set by default wheneverhyper-tor-connector
is added without
somewhere in the dependency tree.default-features = false - socks default = tokio-socks
- arti = arti-client, tor-rtcompat
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- tokio-socks socks
- arti-client arti?
-
Enables arti-client ^0.8
- tor-rtcompat arti?
-
Enables tor-rtcompat ^0.8