[package] name = "mtp-transport" version = "0.3.0" edition = "2024" [dependencies] mtp-codec = { version = "0.3.0", path = "../codec" } mtp-common = { version = "0.3.0", path = "../common" } mtp-crypto = { version = "0.3.0", path = "../crypto" } wtransport = { version = "0.7.1", default-features = false, features = [ "aws-lc-rs", "quinn", "self-signed", ] } rustls = { version = "0.23.41" } tokio = { version = "1", features = ["full"] } rustls-native-certs = "0.8.4" rcgen = "0.14" tracing = "0.1" async-trait = "0.1" sha2 = "0.11" rand = "0.10.2" zeroize = "1.9" [dev-dependencies] [[test]] name = "integration" required-features = ["host", "insecure-tls"] [features] # Enables hosting a MTP server host = [] pipes = ["mtp-codec/pipes", "mtp-codec/crypto"] # Compiles the insecure certificate verifier (NoopCertVerifier). # Even with this feature enabled, the verifier requires the environment # variable MTP_INSECURE_TLS=1 at runtime. Intended for local development # only; never enable in release builds. insecure-tls = []