Files
EasyTier/easytier-contrib/easytier-ffi/Cargo.toml
T
KKRainbow de77efac60 Configure one mobile VPN from running TUN instances
Gather addresses and routes from running instances in the GUI for
VpnService. Attach its single fd to the core shared TUN and refresh
the VPN when instance configuration changes.

Keep the FFI set_tun_fd call scoped to one instance and report
attachment errors. Cover mobile configuration and reconciliation
in GUI tests.
2026-09-29 22:22:38 +08:00

41 lines
945 B
TOML

[package]
name = "easytier-ffi"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["c-abi", "ffi-dataplane"]
c-abi = []
ffi-dataplane = [
"easytier/ffi-dataplane",
"easytier-core/proxy-smoltcp-stack",
]
macos-ne = ["easytier/macos-ne"]
[dependencies]
easytier = { workspace = true, default-features = true, features = ["tracing-log"] }
easytier-core = { workspace = true, default-features = true }
once_cell.workspace = true
tokio = { workspace = true, default-features = true, features = ["rt-multi-thread", "io-util", "time", "sync", "macros"] }
async-trait.workspace = true
log.workspace = true
serde_json.workspace = true
uuid.workspace = true
[build-dependencies]
thunk-rs = { workspace = true, features = [
"win7",
] }
[package.metadata.cargo-machete]
ignored = [
# Windows-only build.rs setup calls thunk::thunk().
"thunk-rs",
]