Cargo Features

tor-guardmgr has no features set by default.

tor-guardmgr = { version = "0.18.0", features = ["full", "experimental", "bridge-client", "pt-client", "vanguards", "testing"] }
full = bridge-client, pt-client, vanguards

Enables full of safelog, tor-async-utils, tor-basic-utils, tor-config, tor-error, tor-linkspec, tor-llcrypto, tor-netdir, tor-netdoc, tor-persist, tor-proto, optional tor-protover, tor-relay-selection, tor-rtcompat, and tor-units


for address pattern

experimental = testing
bridge-client full? pt-client? = tor-protover

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.

Enables routerdesc of tor-netdoc

Affects tor-guardmgr::bridge

pt-client full? = bridge-client

Support for pluggable transports.

Enables pt-client of tor-linkspec

vanguards full?

Vanguards support

Enables vanguards of tor-relay-selection

Affects tor-guardmgr::vanguards, tor-guardmgr::VanguardMode

testing experimental?

Enable testing-only APIs. APIs under this feature are not covered by semver.

Enables testing of tor-netdir

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.

tor-protover bridge-client?