netreplay/Cargo.toml

48 lines
1.5 KiB
TOML

[package]
name = "netreplay"
version = "0.1.0"
edition = "2024"
[dependencies]
argp = "0.4.0"
#console-subscriber = "0.5.0"
env_logger = "0.11.8"
futures-util = "0.3.31"
log = "0.4.28"
rustls-platform-verifier = "0.6.2"
sslrelay = { path = "../sslrelay", optional = true }
static_cell = "2.1.1"
tokio = { version = "1.48.0", features = ["io-util", "macros", "net", "rt", "rt-multi-thread", "sync", "time"]}
tokio-rustls = "0.26.4"
tokio-util = { version = "0.7.6", features = ["codec"] }
x509-parser = "0.18.0"
# TLS impls
aws-lc-rs = { version = "1.14.1", optional = true }
boring-rustls-provider = { git = "https://github.com/janrueth/boring-rustls-provider.git", rev = "490340afa77e2c08fc45853124f99d49f4f9f8a0", optional = true }
rustls-graviola = { version = "0.3.2", optional = true }
rustls-openssl = { version = "0.3.0", default-features = false, features = ["tls12"], optional = true }
rustls-post-quantum = { version = "0.2.4", optional = true }
rustls-symcrypt = { version = "0.2.1", optional = true, features = ["chacha", "x25519"] }
[features]
default = [
"aws-lc",
"record",
]
record = ["sslrelay"]
aws-lc = ["tokio-rustls/aws-lc-rs", "rustls-post-quantum", "rustls-post-quantum/aws-lc-rs-unstable", "aws-lc-rs"]
boring = ["boring-rustls-provider"]
graviola = ["rustls-graviola"]
openssl = ["rustls-openssl"]
ring = ["tokio-rustls/ring"]
symcrypt = ["rustls-symcrypt"]
[profile.release]
lto = "fat"
[patch.crates-io]
rustls = { path = "../rustls/rustls" }
rustls-platform-verifier = { path = "../rustls-platform-verifier/rustls-platform-verifier"}