35 lines
852 B
TOML
35 lines
852 B
TOML
[package]
|
|
name = "switch"
|
|
version = "1.0.7"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
packet = { path = "./packet" }
|
|
bytes = "1.3.0"
|
|
log = "0.4.17"
|
|
libc = "0.2.137"
|
|
crossbeam-utils = "0.8"
|
|
crossbeam-skiplist = "0.1"
|
|
parking_lot = "0.12.1"
|
|
rand = "0.8.5"
|
|
sha2 = { version = "0.10.6", features = ["oid"] }
|
|
aes-gcm = "0.10.2"
|
|
|
|
thiserror = "1.0.37"
|
|
protobuf = "3.2.0"
|
|
socket2 ={ version = "0.5.2", features = ["all"] }
|
|
tokio = { version = "1.28.1", features = ["full"] }
|
|
[target.'cfg(any(target_os = "linux",target_os = "macos"))'.dependencies]
|
|
tun = { path = "./rust-tun" }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
|
|
win-tun-tap = {path = "./win-tun-tap"}
|
|
libloading = "0.7.4"
|
|
|
|
[build-dependencies]
|
|
protobuf-codegen = "3.2.0"
|
|
protoc-bin-vendored = "3.0.0"
|