Module arti::cfg

source · []
Expand description

Configuration for the Arti command line application


Defines standard impls for a struct with a Builder, incl Default

Resolves values from $field_listen and $field_port (compat) into a Listen


Structure to hold our application configuration options

Structure to hold Arti’s configuration options, whether from a configuration file or the command line. These options are declared in a public crate outside of arti so that other applications can parse and use them, if desired. If you’re only embedding arti via arti-client, and you don’t want to use Arti’s configuration format, use [arti_client::TorClientConfig] instead.

Listen 🔒

Specification of (possibly) something to listen on (eg, a port, or some addresses/ports)

Configuration for one or more proxy listeners.

Configuration for system resources used by Tor.


An error related to an option passed to Arti via a configuration builder.


Example file demonstrating our our configuration and the default options.


Return the default maximum number of file descriptors to launch with.

Type Definitions

Convenience alias for the config for a whole arti program