Module arti_client::config
source · [−]Expand description
Types and functions to configure a Tor client.
Some of these are re-exported from lower-level crates.
⚠ Stability Warning ⚠
The design of this structure, and of the configuration system for Arti, is likely to change significantly before the release of Arti 1.0.0. The layout of options within this structure is also likely to change. For more information see ticket #285.
Modules
Types for configuring how Tor circuits are built.
Types for configuring how Tor accesses its directory information.
Macros
Defines standard impls for a struct with a Builder
, incl Default
Structs
A path in a configuration file: tilde expansion is performed, along with expansion of certain variables.
Configuration for client behavior relating to addresses.
Builder for ClientAddrConfig
.
Configuration for where information should be stored on disk.
Builder for StorageConfig
.
Configuration for client behavior relating to stream connection timeouts
Builder for StreamTimeoutConfig
.
A configuration used to bootstrap a TorClient
.
Builder for TorClientConfig
.
Enums
An error that has occurred while expanding a path.
An error related to an option passed to Arti via a configuration builder.
Rules for reconfiguring a running Arti instance.
Constants
The environment variable we look at when deciding whether to disable FS permissions checking.
Functions
Return a filename for the default user configuration file.
Return true if the environment has been set up to disable FS permissions checking.