fallback list: Move default list into tor-guardmgr
This is where the FallbackList type is. We are going to want to provide a builder too, which ought to impl Default. This means that the default value for the type must be next to the type. In any case, it was anomalous that it wasn't. This commit is pure code motion.
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- crates/tor-dirmgr/src/config.rs 2 additions, 28 deletionscrates/tor-dirmgr/src/config.rs
- crates/tor-guardmgr/Cargo.toml 1 addition, 0 deletionscrates/tor-guardmgr/Cargo.toml
- crates/tor-guardmgr/src/fallback.rs 27 additions, 0 deletionscrates/tor-guardmgr/src/fallback.rs
- crates/tor-guardmgr/src/fallback_dirs.inc 0 additions, 0 deletionscrates/tor-guardmgr/src/fallback_dirs.inc
Loading
Please register or sign in to comment