tor_netdoc/
types.rs

1//! Various types that can occur in parsed network documents.
2//!
3//! Some of the types are parsing adapters: transparent newtypes
4//! that can be used for type-driven parsing in netdocs.
5//! These are needed (rather than using the underlying value type)
6//! in cases where network documents have different syntaxes for the same thing.
7//!
8//! NOTE: Several of these modules may eventually move elsewhere,
9//! or become their own crates.
10
11pub mod family;
12pub(crate) mod misc;
13pub mod policy;
14pub mod version;
15
16pub use misc::Nickname;
17
18pub use misc::Fingerprint;