Cargo Features

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

full = bridge-client, default, routerdesc

Enables full of fs-mistrust, safelog, tor-async-utils ^0.20.0, tor-basic-utils ^0.20.0, tor-checkable ^0.20.0, tor-circmgr ^0.20.0, tor-config ^0.20.0, tor-consdiff ^0.20.0, tor-dirclient ^0.20.0, tor-error ^0.20.0, optional tor-geoip ^0.20.0, tor-guardmgr ^0.20.0, tor-llcrypto ^0.20.0, tor-netdir ^0.20.0, tor-netdoc ^0.20.0, tor-persist ^0.20.0, tor-proto ^0.20.0, and tor-rtcompat ^0.20.0

experimental = dirfilter, experimental-api, geoip
bridge-client full? = routerdesc

Enables specific-relay of tor-circmgr ^0.20.0 and bridge-client of tor-guardmgr ^0.20.0

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 fedimint-tor-dirmgr::bridgedesc

mmap default = memmap2
static

Enables bundled of rusqlite ^0.28.0

compression default

Enables xz and zstd of tor-dirclient ^0.20.0

routerdesc bridge-client? full?

(Incomplete) support for downloading and storing router descriptors

Enables routerdesc of tor-dirclient ^0.20.0

dirfilter experimental?

Affects config::DirMgrExtensions.filter, fedimint-tor-dirmgr::filter

geoip experimental? = tor-geoip

Enables geoip of tor-netdir ^0.20.0

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?

Enables tor-geoip ^0.20.0