Cargo Features

[dependencies]
tor-dirmgr = { version = "0.17.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 default-features = false somewhere in the dependency tree.

full = bridge-client, default, routerdesc

Enables full of fs-mistrust, retry-error, 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

Enables bundled of rusqlite

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.

memmap2 mmap
tor-geoip geoip?