p2p_chat/network/layer/mod.rs
1//! This module defines the `NetworkLayer`, which is the main entry point for
2//! interacting with the network.
3//!
4//! It is responsible for creating and managing the `libp2p` `Swarm`, and for
5//! handling network events.
6mod builder;
7mod providers;
8mod runtime;
9mod state;
10
11pub use state::NetworkLayer;