36 lines
959 B
TOML
36 lines
959 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"
|
|
tracing = "0.1"
|
|
|
|
[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 = []
|