mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-08 10:56:13 -08:00
40 lines
912 B
TOML
40 lines
912 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",
|
|
]
|
|
|
|
[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",
|
|
]
|