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 low-level types for handling configuration values.

⚠ Stability Warning ⚠

The design of this crate, and of the configuration system for Arti, is likely to change significantly before the release of Arti 1.0.0. For more information see ticket #285.

Re-exports

pub use educe;
pub use serde;

Modules

Lists in builders

Macros

Define accessor methods for a configuration item which is a list

Define a list builder struct for use with define_list_builder_accessors

Helper for assisting with macro “argument” defaulting

Structs

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

A mutable configuration object.

Enums

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

Rules for reconfiguring a running Arti instance.

An error caused when attempting to reconfigure an existing Arti client, or one of its modules.