-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathCargo.toml
More file actions
78 lines (63 loc) · 2.05 KB
/
Copy pathCargo.toml
File metadata and controls
78 lines (63 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# SPDX-FileCopyrightText: 2024-2026 Cloudflare Inc., Luke Curley, Mike English and contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
name = "rvoip-moq-relay"
description = "Attributed rvoip fork of the embeddable MOQT draft-19 relay"
authors = ["moq-rs contributors"]
repository.workspace = true
license = "MIT OR Apache-2.0"
version.workspace = true
edition = "2021"
autobins = false
keywords = ["quic", "http3", "webtransport", "media", "live"]
categories = ["multimedia", "network-programming", "web-programming"]
[lib]
name = "moq_relay_ietf"
path = "src/lib.rs"
[dependencies]
moq-transport.workspace = true
moq-native-ietf.workspace = true
web-transport = { workspace = true, optional = true }
# QUIC
url = { version = "2", optional = true }
# Async stuff
tokio = { version = "1", features = ["sync"] }
tokio-util = { version = "0.7", features = ["rt"], optional = true }
futures = { version = "0.3", optional = true }
async-trait = "0.1"
hex = "0.4"
ring = "0.17"
# Serialization
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
# Error handling
anyhow = { version = "1", features = ["backtrace"] }
# Logging
tracing = { workspace = true, optional = true }
thiserror = "2.0.17"
# Runtime metrics use the zero-cost facade when no recorder is installed.
# The metrics-prometheus feature adds the optional Prometheus exporter and
# therefore also enables the relay runtime.
metrics = { version = "0.24", optional = true }
metrics-exporter-prometheus = { version = "0.16", optional = true }
[features]
default = []
relay-runtime = [
"dep:web-transport",
"dep:url",
"tokio/full",
"tokio/test-util",
"dep:tokio-util",
"dep:futures",
"dep:serde",
"dep:serde_json",
"dep:tracing",
"dep:metrics",
]
metrics-prometheus = ["relay-runtime", "dep:metrics-exporter-prometheus"]
[dev-dependencies]
rcgen = { version = "0.13", features = ["pem"] }
tempfile = "3"
time = "0.3"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("runtime"))'] }