cross_platform_tun/
lib.rs1mod configuration;
2pub use configuration::Configuration;
3
4mod address;
5mod error;
6pub mod interface;
7
8mod platform;
9pub use platform::tun;
10
11#[cfg(all(
12 feature = "async",
13 any(
14 target_os = "windows",
15 target_os = "linux",
16 target_os = "macos",
17 target_os = "ios",
18 target_os = "android"
19 )
20))]
21mod r#async {
22 pub mod codec;
23 pub mod tun;
24}
25#[cfg(all(
26 feature = "async",
27 any(
28 target_os = "windows",
29 target_os = "linux",
30 target_os = "macos",
31 target_os = "ios",
32 target_os = "android"
33 )
34))]
35pub use r#async::{
36 codec::TunPacket,
37 codec::TunPacketCodec,
38 tun::AsyncTun,
39 codec::PacketProtocol,
40 codec::infer_proto,
41};