mirror of
https://github.com/tonarino/innernet.git
synced 2026-04-24 19:55:00 +02:00
5912c14c1a
* platform: add initial placeholders for OpenBSD support * platform: implement wg device enumeration for OpenBSD * rename and move new_peer_info() -> PeerInfo::new() * platform: implement get_by_name() for OpenBSD * platform/OpenBSD: clean up imports * platform/OpenBSD: implement apply() * platform/OpenBSD: implement delete_interface() * platform/OpenBSD: implement wg::set_addr(), wg::set_up() * platform/OpenBSD: handle DeviceUpdate::replace_peers and PeerConfigBuilder::remove_me * platform/OpenBSD: rename Backend::KernelOpenBSD -> Backend::OpenBSD * platform/OpenBSD: fix setting default backend to Backend::OpenBSD * platform/OpenBSD: add a simple test * remove unused imports * increase the timeout duration for API requests by the client * rustfmt * clippy: use Error::other(_) instead of Error::new(ErrorKind::Other, _) see - https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error * rustfmt * platform/OpenBSD: add missing command status check * Cargo.toml: restrict nix dependency to OpenBSD platform * device: rename PeerInfo::new() -> PeerInfo::from_public_key() * platform/OpenBSD: adjust default path values for data_dir * client: adjust api agent timeout and document reason * cargo fmt * shared: refactor Error::new(ErrorKind::Other,) -> Error::other() * cargo fmt --all * simplify #[cfg] directives + formatting