1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
pub mod configuration;
pub mod crypt_udp;
pub mod error;
pub mod event;
pub mod manager;
pub mod run_loop;
pub mod tui_display;
pub mod util;
pub mod wg_dev;
pub mod arch_def;
pub use arch_def::Architecture;
#[cfg(target_os = "linux")]
pub mod arch_linux;
#[cfg(target_os = "macos")]
pub mod arch_macos;
#[cfg(target_os = "windows")]
pub mod arch_windows;
#[cfg(target_os = "android")]
pub mod arch_android;
#[cfg(target_os = "linux")]
pub use crate::arch_linux::ArchitectureLinux as Arch;
#[cfg(target_os = "macos")]
pub use crate::arch_macos::ArchitectureMacOs as Arch;
#[cfg(target_os = "windows")]
pub use crate::arch_windows::ArchitectureWindows as Arch;
#[cfg(target_os = "android")]
pub use crate::arch_android::ArchitectureAndroid as Arch;