diff options
| author | tv <tv@krebsco.de> | 2026-10-21 03:22:55 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-21 03:31:44 +0200 |
| commit | 2c2bcf761fda888844a8538e756c8dbb9986a51f (patch) | |
| tree | 3711b6a9988b6203455f80e704f8c393e5d3d2c9 /src/main.rs | |
| parent | 55acf6f276efa952da7bb6f8e0377791549f3ea1 (diff) | |
reorganize all the modules
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/main.rs b/src/main.rs index c98596b..1793523 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,23 +19,18 @@ use tracing::{debug, error, info, trace}; use url::Url; mod api; -mod auth; -mod bootstrap; mod compaction; -mod firewall; -mod mycelium; -mod peer; -mod replica; +mod document; mod state; -mod store; -mod sync; +mod swarm; mod transport; -use auth::AuthState; -use firewall::{Firewall, FirewallTransport}; -use mycelium::{MyceliumSetup, MyceliumSpawnConfig}; -use replica::{Epoch, Replica}; +use api::auth::AuthState; +use document::replica::{Epoch, Replica}; use state::{AppState, NodeLifecycle, Timing}; +use swarm::{bootstrap, peer, sync}; +use transport::firewall::{Firewall, FirewallTransport}; +use transport::mycelium::{self, MyceliumSetup, MyceliumSpawnConfig}; use transport::Transport; #[derive(Parser, Debug)] |
