diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2021-01-13 18:10:04 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2021-01-13 18:10:52 +0100 |
commit | 7d84ef9064559a29b23ab86036f7ef62b450f90c (patch) | |
tree | 9a849e0b80218125b007420d7d472665b1619c4e /src/wireguard/mod.rs | |
parent | Upgrade dependencies (diff) | |
download | wireguard-rs-7d84ef9064559a29b23ab86036f7ef62b450f90c.tar.xz wireguard-rs-7d84ef9064559a29b23ab86036f7ef62b450f90c.zip |
Signed-off-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
Diffstat (limited to 'src/wireguard/mod.rs')
-rw-r--r-- | src/wireguard/mod.rs | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/wireguard/mod.rs b/src/wireguard/mod.rs index ca17737..e79a250 100644 --- a/src/wireguard/mod.rs +++ b/src/wireguard/mod.rs @@ -1,12 +1,11 @@ -/* The wireguard sub-module represents a full, pure, WireGuard implementation: - * - * The WireGuard device described here does not depend on particular IO implementations - * or UAPI, and can be instantiated in unit-tests with the dummy IO implementation. - * - * The code at this level serves to "glue" the handshake state-machine - * and the crypto-key router code together, - * e.g. every WireGuard peer consists of a handshake and router peer. - */ +/// The wireguard sub-module represents a full, pure, WireGuard implementation: +/// +/// The WireGuard device described here does not depend on particular IO implementations +/// or UAPI, and can be instantiated in unit-tests with the dummy IO implementation. +/// +/// The code at this level serves to "glue" the handshake state-machine +/// and the crypto-key router code together, +/// e.g. every WireGuard peer consists of one handshake peer and one router peer. mod constants; mod handshake; mod peer; @@ -14,12 +13,14 @@ mod queue; mod router; mod timers; mod types; -mod wireguard; mod workers; #[cfg(test)] mod tests; +#[allow(clippy::module_inception)] +mod wireguard; + // represents a WireGuard interface pub use wireguard::WireGuard; |