doc(rp+rosenpass+ciphers+cipher-traits): Apply cargo fmt formatting

This commit is contained in:
David Niehues
2025-03-20 17:46:41 +01:00
committed by Jan Winkelmann (keks)
parent 006946442a
commit b21a95dbbd
5 changed files with 9 additions and 10 deletions

View File

@@ -6,10 +6,10 @@ use std::pin::Pin;
use std::sync::Arc;
use std::{net::SocketAddr, path::PathBuf, process::Command};
use anyhow::Result;
use rosenpass::config::ProtocolVersion;
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
use crate::key::WG_B64_LEN;
use anyhow::Result;
use rosenpass::config::ProtocolVersion;
/// Used to define a peer for the rosenpass connection that consists of
/// a directory for storing public keys and optionally an IP address and port of the endpoint,
@@ -25,7 +25,7 @@ pub struct ExchangePeer {
/// The IPs that are allowed for this peer.
pub allowed_ips: Option<String>,
/// The protocol version used by the peer.
pub protocol_version: ProtocolVersion
pub protocol_version: ProtocolVersion,
}
/// Options for the exchange operation of the `rp` binary.