31 lines
875 B
TOML
31 lines
875 B
TOML
[package]
|
|
name = "mtp-webserver"
|
|
version = "0.2.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
mtp-common = { version = "0.2.0", path = "../common" }
|
|
mtp-codec = { version = "0.2.0", path = "../codec", features = ["registry"] }
|
|
mtp-host = { version = "0.2.0", path = "../host" }
|
|
mtp-transport = { version = "0.2.0", path = "../transport" }
|
|
mtp-crypto = { version = "0.2.0", path = "../crypto" }
|
|
bytes = "1"
|
|
http = "1"
|
|
tokio = { version = "1", features = ["io-util", "macros", "net", "rt", "sync", "time"] }
|
|
h3 = "0.0.8"
|
|
h3-quinn = { version = "0.0.10", features = ["datagram"] }
|
|
h3-webtransport = "0.1.2"
|
|
quinn = "0.11"
|
|
rustls = "0.23"
|
|
tracing = "0.1"
|
|
thiserror = "2"
|
|
async-trait = "0.1"
|
|
rand = { version = "0.10.1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
rcgen = "0.14"
|
|
|
|
[features]
|
|
default = []
|
|
crypto = ["mtp-host/crypto", "dep:rand"]
|
|
pipes = ["mtp-host/pipes", "mtp-transport/pipes"]
|