chore: sync konduit-platform

This commit is contained in:
Eugen Kaparulin
2026-06-08 09:11:15 +03:00
parent ee7898cfac
commit d3e6d89b6b
12 changed files with 2070 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
[package]
name = "konduit-platform"
version = "0.1.0"
edition = "2021"
authors = ["Eugen Kaparulin <e.kaparulin@gmail.com>"]
license = "PolyForm-Noncommercial-1.0.0"
description = "Cryptographic primitives, connection statistics, and platform networking (TUN, DNS, routes) for the Konduit VPN engine."
repository = "https://git.k-ops.eu/konduit/konduit-public"
[dependencies]
anyhow = "1.0"
bytes = "1.5"
rand = "0.8"
chacha20poly1305 = "0.10"
x25519-dalek = { version = "2.0", features = ["static_secrets"] }
ed25519-dalek = "2.2.0"
blake3 = "1.5"
argon2 = "0.5"
unicode-normalization = "0.1"
hex = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
parking_lot = "0.12"
tokio = { version = "1", features = ["full"] }
tun = { version = "0.6", features = ["async"] }
tracing = "0.1"
futures = "0.3"
[target.'cfg(target_os = "linux")'.dependencies]
rtnetlink = "0.14"
netlink-packet-route = "0.19"
zbus = { version = "4", default-features = false, features = ["tokio"] }
libc = "0.2"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.52", features = [
"Win32_Foundation",
"Win32_NetworkManagement_IpHelper",
"Win32_NetworkManagement_Ndis",
"Win32_Networking_WinSock",
] }
ipconfig = "0.3"
[target.'cfg(target_os = "macos")'.dependencies]
system-configuration = "0.5"
core-foundation = "0.9"
[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
libc = "0.2"