mtp/transport/Cargo.toml
Alex Emmet c148314742
Some checks failed
CI / checks (push) Failing after 1m38s
[WIP] Pings, Pongs & Streams
2026-07-14 00:14:53 +02:00

35 lines
943 B
TOML

[package]
name = "mtp-transport"
version = "0.1.0"
edition = "2024"
[dependencies]
mtp-codec = { version = "0.1.0", path = "../codec" }
mtp-common = { version = "0.1.0", path = "../common" }
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"
log = "0.4"
rcgen = "0.14"
[dev-dependencies]
[[test]]
name = "integration"
required-features = ["host"]
[features]
default = []
# Enables hosting a MTP server
host = []
# Documents and exposes the framed uni-directional stream transport used by
# the host and client facades. The transport is stream based by design, so
# keeping this as a marker feature lets facade crates opt into their
# stream-specific convenience exports without making the core transport
# unusable for existing consumers.
streaming = []