Cargo Features
tor-guardmgr has no features set by default.
[dependencies]
tor-guardmgr = { version = "0.24.0", features = ["full", "experimental", "bridge-client", "pt-client", "vanguards", "testing"] }
- full = bridge-client, pt-client, vanguards
-
Enables full of oneshot-fused-workaround, 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, optional tor-rtmock, and tor-units
tor-netdoc:
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? = tor-rtmock
-
Enable testing-only APIs. APIs under this feature are not covered by semver.
Enables testing of tor-netdir and tor-persist
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.