Cargo Features
tor-netdir has no features set by default.
[dependencies]
tor-netdir = { version = "0.25.0", features = ["experimental", "experimental-api", "hs-client", "hs-service", "hs-common", "geoip", "testing", "full"] }
- experimental = experimental-api, geoip, testing
- experimental-api experimental? = visibility
-
Enable experimental APIs that are not yet officially supported.
These APIs are not covered by semantic versioning. Using this feature voids your "semver warrantee". - hs-client full? = hs-common
- hs-service full? = hs-common
-
Enables ope of tor-hscrypto
- hs-common hs-client? hs-service? = digest, hex, time, tor-hscrypto
-
Affects
err::OnionDirLookupError
,tor-netdir::RelayLookupError
… - geoip experimental? = tor-geoip
-
Affects
testnet::construct_custom_netdir_with_geoip
… - testing experimental? = hex, postage
-
Enable testing-only APIs. APIs under this feature are not covered by semver.
Enables build_docs of tor-netdoc
Affects
tor-netdir::testprovider
… - full = hs-client, hs-service
-
Enables full of tor-basic-utils, tor-error, optional tor-geoip, optional tor-hscrypto, tor-linkspec, tor-llcrypto, tor-netdoc, tor-protover, and tor-units
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.