Ferrit Explore
中文·繁體·EN·日本語 Sign in Register
cielxl / magpie / Cargo.toml
[package]
name = "magpie"
version = "0.1.0"
edition = "2021"
description = "鹊桥 (Magpie) — a hand-rolled, general-purpose WireGuard VPN client in Rust"
authors = ["cielxl"]

[[bin]]
name = "magpie"
path = "src/main.rs"

[dependencies]
# WireGuard protocol + crypto core (Cloudflare). default-features=false drops the
# unix-only `device` module so it compiles cleanly on Windows; we keep `noise`.
boringtun = { version = "0.6", default-features = false }
# Windows TUN virtual adapter (WireGuard's official wintun via Rust bindings).
wintun = "0.5"
base64 = "0.22"
getrandom = "0.2"
ipnet = "2"

[profile.release]
opt-level = 3
lto = true