Cargo Features

tor-persist has no features set by default.

[dependencies]
tor-persist = { version = "0.24.0", features = ["state-dir", "testing", "full", "experimental"] }
state-dir experimental? = amplify, fslock-guard

Enable the state_dir module

Affects tor-persist::state_dir

testing experimental?

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

full

Enables full of fs-mistrust, optional fslock-guard, oneshot-fused-workaround, tor-async-utils, tor-basic-utils, and tor-error

experimental = state-dir, testing

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.

amplify state-dir?
fslock-guard state-dir?