# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.77.0" name = "easytier" version = "2.0.3" authors = ["kkrainbow"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A full meshed p2p VPN, connecting all your devices in one network with one command." homepage = "https://github.com/EasyTier/EasyTier" readme = "README.md" keywords = [ "vpn", "p2p", "network", "easytier", ] categories = [ "network-programming", "command-line-utilities", ] license-file = "LICENSE" repository = "https://github.com/EasyTier/EasyTier" [lib] name = "easytier" path = "src/lib.rs" test = false [[bin]] name = "easytier-cli" path = "src/easytier-cli.rs" test = false [[bin]] name = "easytier-core" path = "src/easytier-core.rs" [dependencies.aes-gcm] version = "0.10.3" optional = true [dependencies.anyhow] version = "1.0" [dependencies.async-recursion] version = "1.0.5" [dependencies.async-ringbuf] version = "0.3.1" [dependencies.async-stream] version = "0.3.5" [dependencies.async-trait] version = "0.1.74" [dependencies.atomic-shim] version = "0.2.0" [dependencies.atomicbox] version = "0.4.0" [dependencies.auto_impl] version = "1.1.0" [dependencies.base64] version = "0.22" [dependencies.bitflags] version = "2.5" [dependencies.boringtun] version = "0.6.1" optional = true package = "boringtun-easytier" [dependencies.bytecodec] version = "0.4.15" [dependencies.byteorder] version = "1.5.0" [dependencies.bytes] version = "1.5.0" [dependencies.chrono] version = "0.4.37" features = ["serde"] [dependencies.cidr] version = "0.2.2" features = ["serde"] [dependencies.clap] version = "4.4.8" features = [ "string", "unicode", "derive", "wrap_help", ] [dependencies.crossbeam] version = "0.8.4" [dependencies.crossbeam-queue] version = "0.3" [dependencies.dashmap] version = "6.0" [dependencies.derivative] version = "2.2.0" [dependencies.futures] version = "0.3" features = [ "bilock", "unstable", ] [dependencies.gethostname] version = "0.5.0" [dependencies.git-version] version = "0.3.9" [dependencies.http] version = "1" features = ["std"] optional = true default-features = false [dependencies.humansize] version = "2.1.3" [dependencies.indexmap] version = "~1.9.3" features = ["std"] optional = false [dependencies.mimalloc-rust] version = "0.2.1" optional = true [dependencies.network-interface] version = "2.0" [dependencies.nix] version = "0.27" features = [ "sched", "socket", "ioctl", ] [dependencies.once_cell] version = "1.18.0" [dependencies.parking_lot] version = "0.12.0" optional = true [dependencies.percent-encoding] version = "2.3.1" [dependencies.petgraph] version = "0.6.5" [dependencies.pin-project-lite] version = "0.2.13" [dependencies.pnet] version = "0.35.0" features = ["serde"] [dependencies.prost] version = "0.13" [dependencies.prost-types] version = "0.13" [dependencies.quinn] version = "0.11.0" features = ["ring"] optional = true [dependencies.rand] version = "0.8.5" [dependencies.rcgen] version = "0.11.1" optional = true [dependencies.ring] version = "0.17" optional = true [dependencies.ringbuf] version = "0.4.5" [dependencies.rust-i18n] version = "3" [dependencies.rustls] version = "0.23.0" features = ["ring"] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.smoltcp] version = "0.11.0" features = [ "std", "medium-ip", "proto-ipv4", "proto-ipv6", "socket-tcp", "async", ] optional = true default-features = false [dependencies.socket2] version = "0.5.5" [dependencies.stun_codec] version = "0.3.4" [dependencies.sys-locale] version = "0.3" [dependencies.tabled] version = "0.16" [dependencies.tachyonix] version = "0.3.0" [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" [dependencies.timedmap] version = "=1.0.1" [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-rustls] version = "0.26" optional = true default-features = false [dependencies.tokio-stream] version = "0.1" [dependencies.tokio-util] version = "0.7.9" features = [ "codec", "net", "io", ] [dependencies.tokio-websockets] version = "0.8" features = [ "rustls-webpki-roots", "client", "server", "fastrand", "ring", ] optional = true [dependencies.toml] version = "0.8.12" [dependencies.tracing] version = "0.1" features = ["log"] [dependencies.tracing-appender] version = "0.2.3" [dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "local-time", "time", ] [dependencies.tun] version = "1.1.1" features = ["async"] optional = true package = "tun-easytier" [dependencies.url] version = "2.5" features = ["serde"] [dependencies.uuid] version = "1.5.0" features = [ "v4", "fast-rng", "macro-diagnostics", "serde", ] [dependencies.wildmatch] version = "2.3.4" [dependencies.zerocopy] version = "0.7.32" features = [ "derive", "simd", ] [dev-dependencies.futures-util] version = "0.3.30" [dev-dependencies.rstest] version = "0.18.2" [dev-dependencies.serial_test] version = "3.0.0" [build-dependencies.globwalk] version = "0.8.1" [build-dependencies.prost-build] version = "0.13.2" [build-dependencies.regex] version = "1" [build-dependencies.rpc_build] version = "0.1.0" features = ["internal-namespace"] package = "easytier-rpc-build" [build-dependencies.tonic-build] version = "0.12" [features] aes-gcm = ["dep:aes-gcm"] default = [ "wireguard", "mimalloc", "websocket", "smoltcp", "tun", "socks5", ] full = [ "quic", "websocket", "wireguard", "mimalloc", "aes-gcm", "smoltcp", "tun", "socks5", ] mimalloc = ["dep:mimalloc-rust"] mips = [ "aes-gcm", "mimalloc", "wireguard", "tun", "smoltcp", "socks5", ] quic = [ "dep:quinn", "dep:rustls", "dep:rcgen", ] smoltcp = [ "dep:smoltcp", "dep:parking_lot", ] socks5 = ["dep:smoltcp"] tun = ["dep:tun"] websocket = [ "dep:tokio-websockets", "dep:http", "dep:tokio-rustls", "dep:rustls", "dep:rcgen", ] wireguard = [ "dep:boringtun", "dep:ring", ] [target.'cfg(target_os = "linux")'.dev-dependencies.defguard_wireguard_rs] version = "0.4.2" [target.'cfg(target_os = "linux")'.dev-dependencies.tokio-socks] version = "0.5.2" [target."cfg(windows)".dependencies.encoding] version = "0.2" [target."cfg(windows)".dependencies.windows-sys] version = "0.52" features = [ "Win32_Networking_WinSock", "Win32_NetworkManagement_IpHelper", "Win32_Foundation", "Win32_System_IO", ] [target."cfg(windows)".dependencies.winreg] version = "0.52" [target."cfg(windows)".build-dependencies.reqwest] version = "0.11" features = ["blocking"] [target."cfg(windows)".build-dependencies.zip] version = "0.6.6"