[package]
edition = "2021"
name = "vcl-protocol"
version = "1.5.0"
authors = ["ultrakill148852-collab"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cryptographically chained packet transport with QUIC, cross-platform TUN, and bug fixes"
documentation = "https://docs.rs/vcl-protocol"
readme = "README.md"
keywords = [
"crypto",
"networking",
"vpn",
"quic",
"wintun",
]
categories = [
"cryptography",
"network-programming",
]
license = "MIT"
repository = "https://github.com/ultrakill148852-collab/vcl-protocol"
[features]
default = ["ws"]
pq = [
"dep:pqcrypto-kyber",
"dep:pqcrypto-traits",
]
quic = [
"dep:quinn",
"dep:rustls",
"dep:rcgen",
]
wintun = ["dep:wintun"]
ws = ["dep:tokio-tungstenite"]
[lib]
name = "vcl_protocol"
path = "src/lib.rs"
[[bin]]
name = "vcl-protocol"
path = "src/main.rs"
[[example]]
name = "client"
path = "examples/client.rs"
[[example]]
name = "server"
path = "examples/server.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[bench]]
name = "vcl_benchmarks"
path = "benches/vcl_benchmarks.rs"
harness = false
[dependencies.bincode]
version = "1.3"
[dependencies.chacha20poly1305]
version = "0.10"
[dependencies.ed25519-dalek]
version = "2.1"
[dependencies.etherparse]
version = "0.15"
[dependencies.futures-util]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.pqcrypto-kyber]
version = "0.8"
optional = true
[dependencies.pqcrypto-traits]
version = "0.3"
optional = true
[dependencies.prometheus]
version = "0.13"
features = ["process"]
[dependencies.quinn]
version = "0.11"
optional = true
[dependencies.rand]
version = "0.8"
[dependencies.rcgen]
version = "0.13"
optional = true
[dependencies.rustls]
version = "0.23"
features = ["ring"]
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.sha2]
version = "0.10"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-tungstenite]
version = "0.24"
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
[dependencies.tun]
version = "0.7"
features = ["async"]
[dependencies.wintun]
version = "0.3"
optional = true
[dependencies.x25519-dalek]
version = "2.0"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]
[target."cfg(windows)".dependencies.wintun]
version = "0.3"