Crate tor_config_path

Source
Expand description

§tor-config-path

Low-level file path handling for configuration of the Arti Tor implementation.

§Overview

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


License: MIT OR Apache-2.0

Modules§

addraddress
Support for shell expansion in [general::SocketAddr].

Structs§

CfgPath
A path in a configuration file: tilde expansion is performed, along with expansion of variables provided by a CfgPathResolver.
CfgPathResolver
A variable resolver for paths in a configuration file.

Enums§

CfgPathError
An error that has occurred while expanding a path.

Functions§

arti_client_base_resolverarti-client
A CfgPathResolver with the base variables configured for a TorClientConfig in arti-client.
homeexpand-paths
Return the user’s home directory used when expanding paths.