Files
xvpn/Cargo.toml
icsboyx fb9d6ca9c8 Add new dependencies and implement TUN interface initialization
- Updated Cargo.toml to include `etherparse` and enable async feature for `tun-rs`.
- Added `ip_match_network` function in network module for IP matching.
- Implemented TUN interface initialization in `tun.rs`.
- Enhanced client handling in `client.rs` to support new features and improved message handling.
- Refactored router messages to use a structured `VpnPacket`.
- Updated settings for spell checking in VSCode.
2026-02-27 11:30:08 +01:00

28 lines
620 B
TOML

[package]
name = "xvpn"
version = "0.1.0"
edition = "2024"
[dependencies]
clap = { version = "4.5.37", features = ["derive"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
toml = "1.0.3"
tokio = { version = "1.49.0", features = [
"macros",
"rt-multi-thread",
"time",
"fs",
"net",
"io-util",
"sync",
"signal",
] }
anyhow = "1.0.102"
uuid = { version = "1.21.0", features = ["v4", "serde"] }
ipnet = { version = "2.11.0", features = ["serde"] }
base64 = "0.22.1"
tun-rs = { version = "2.8.2", features = ["async"] }
chrono = "0.4.44"
etherparse = "0.19.0"