#![allow(unused)] // lots of configs... use clap::Parser; use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4}; /// The arguments for the address the server will run on #[derive(Clone, Debug, Default, Parser)] pub(crate) struct AddressArguments { /// The port the server will run on #[clap(long)] pub(crate) port: Option, /// The address the server will run on #[clap(long)] pub(crate) addr: Option, }