Crate tor_config[][src]

Expand description

tor-config: Tools for configuration management in Arti

Overview

This crate is part of Arti, a project to implement Tor in Rust.

It provides a client configuration tool using using serde and config, plus extra features defined here for convenience.

Structs

CfgPath

A path in a configuration file: tilde expansion is performed, along with expansion of certain variables.

CmdLine

A CmdLine holds a set of command-line arguments that augment a configuration.

Functions

default_config_file

Return a filename for the default user configuration file.

load

Load a Config object based on a set of files and/or command-line arguments.