tor_guardmgr/
bridge.rs

1//! Code to configure and manage a set of bridge relays.
2//!
3//! A bridge relay, or "bridge" is a tor relay not listed as part of Tor
4//! directory, in order to prevent censors from blocking it.  Instead, clients
5//! learn about bridges out-of-band, and contact them either directly or via a
6//! pluggable transport.
7//!
8//! When a client is configured to use bridges, it uses them in place of its
9//! regular set of guards in building the first hop of its circuits.
10mod config;
11mod descs;
12mod relay;
13
14pub use config::{BridgeConfig, BridgeConfigBuilder, BridgeParseError};
15pub use descs::{BridgeDesc, BridgeDescError, BridgeDescEvent, BridgeDescList, BridgeDescProvider};
16pub use relay::BridgeRelay;
17
18pub(crate) use descs::BridgeSet;