Implement Wireguard

Implements Wireguard
This commit is contained in:
Jett Chen 2023-12-17 01:20:56 +08:00 committed by Conrad Kramer
parent 60257b256a
commit b008762a5b
59 changed files with 3824 additions and 529 deletions

View file

@ -2,11 +2,11 @@
#[cfg(target_os = "windows")]
#[path = "windows/mod.rs"]
mod imp;
mod os_imp;
#[cfg(any(target_os = "linux", target_vendor = "apple"))]
#[path = "unix/mod.rs"]
pub(crate) mod imp;
pub(crate) mod os_imp;
mod options;
@ -14,5 +14,5 @@ mod options;
#[cfg(feature = "tokio")]
pub mod tokio;
pub use imp::{TunInterface, TunQueue};
pub use options::TunOptions;
pub use os_imp::{TunInterface, TunQueue};