Expand description
Configuration for the Arti command line application
Re-exports§
pub use crate::rpc::RpcConfig;pub use crate::rpc::RpcConfigBuilder;
Structs§
- Application
Config - Structure to hold our application configuration options
- Application
Config Builder - A builder to create an instance of
ApplicationConfig. - Arti
Config - 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
artiso that other applications can parse and use them, if desired. If you’re only embedding arti viaarti-client, and you don’t want to use Arti’s configuration format, usearti_client::TorClientConfiginstead. - Arti
Config Builder - A builder to create an instance of
ArtiConfig. - Arti
Storage Config - Configuration for arti-specific storage locations.
- Arti
Storage Config Builder - A builder to create an instance of
ArtiStorageConfig. - Listen 🔒
- Specification of (possibly) something to listen on (eg, a port, or some addresses/ports)
- Metrics
Config - Configuration for exporting metrics (eg, perf data)
- Metrics
Config Builder - A builder to create an instance of
MetricsConfig. - Prometheus
Config - Configuration for one or more proxy listeners.
- Prometheus
Config Builder - A builder to create an instance of
PrometheusConfig. - Proxy
Config - Configuration for one or more proxy listeners.
- Proxy
Config Builder - A builder to create an instance of
ProxyConfig. - RpcListener
SetConfig - Configuration for a single source of connect points to use when configuring Arti as an RPC server.
- RpcListener
SetConfig Builder - A builder to create an instance of
RpcListenerSetConfig. - System
Config - Configuration for system resources used by Tor.
- System
Config Builder - A builder to create an instance of
SystemConfig.
Enums§
- Config
Build 🔒Error - An error related to an option passed to Arti via a configuration builder.
Constants§
- ARTI_
EXAMPLE_ CONFIG - Example file demonstrating our configuration and the default options.
Functions§
- default_
max_ 🔒files - Return the default maximum number of file descriptors to launch with.
- default_
port_ 🔒info_ file - Return the default ports_info_file location.
Type Aliases§
- Arti
Combined Config - Convenience alias for the config for a whole
artiprogram