arti/crates/tor-dirmgr
Nick Mathewson 0949582fab Use derive_builder for Authority and FallbackDir. 2021-09-10 10:03:33 -04:00
..
src Use derive_builder for Authority and FallbackDir. 2021-09-10 10:03:33 -04:00
Cargo.toml Use derive_builder for NetworkConfig. 2021-09-08 17:46:00 -04:00
README.md Move all crates into a `crates` subdirectory. 2021-08-27 09:53:09 -04:00

README.md

tor-dirmgr

tor-dirmgr: Code to fetch, store, and update Tor directory information.

Overview

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

In its current design, Tor requires a set of up-to-date authenticated directory documents in order to build multi-hop anonymized circuits through the network.

This directory manager crate is responsible for figuring out which directory information we lack, downloading what we're missing, and keeping a cache of it on disk.

Compile-time features

mmap (default) -- Use memory mapping to reduce the memory load for reading large directory objects from disk.

static -- Try to link with a static copy of sqlite3.

License: MIT OR Apache-2.0