Cargo Features
[dependencies]
tor-dirmgr = { version = "0.25.0", default-features = false, features = ["full", "experimental", "bridge-client", "mmap", "static", "compression", "routerdesc", "dirfilter", "geoip", "experimental-api"] }
- default full? = compression, mmap
-
These default features are set whenever
tor-dirmgr
is added without
somewhere in the dependency tree.default-features = false - full = bridge-client, default, routerdesc
-
Enables full of fs-mistrust, oneshot-fused-workaround, safelog, tor-async-utils, tor-basic-utils, tor-checkable, tor-circmgr, tor-config, tor-consdiff, tor-dirclient, tor-error, optional tor-geoip, tor-guardmgr, tor-llcrypto, tor-netdir, tor-netdoc, tor-persist, tor-proto, and tor-rtcompat
- experimental = dirfilter, experimental-api, geoip
- bridge-client full? = routerdesc
-
Enables specific-relay of tor-circmgr and bridge-client of tor-guardmgr
tor-guardmgr:
Support for using bridges as a client. Note that this is not the same as the pt-client feature, since here we are not concerned with pluggable transports necessarily.
Affects
tor-dirmgr::bridgedesc
… - mmap default = memmap2
- static
- compression default
-
Enables xz and zstd of tor-dirclient
- routerdesc bridge-client? full?
-
(Incomplete) support for downloading and storing router descriptors
Enables routerdesc of tor-dirclient
- dirfilter experimental?
-
Affects
config::DirMgrExtensions.filter
,tor-dirmgr::filter
… - geoip experimental? = tor-geoip
-
Enables geoip of tor-netdir
- experimental-api experimental?
-
Enable experimental APIs that are not yet officially supported.
These APIs are not covered by semantic versioning. Using this feature voids your "semver warrantee".Affects
authority::Authority.v3ident
…
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.