moq-rtc 0.0.1

WebRTC (WHIP/WHEP) gateway for Media over QUIC
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "moq-rtc"
version = "0.0.1"
authors = ["Luke Curley <kixelated@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebRTC (WHIP/WHEP) gateway for Media over QUIC"
readme = false
keywords = [
    "webrtc",
    "whip",
    "whep",
    "moq",
    "media",
]
categories = [
    "multimedia",
    "network-programming",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/moq-dev/moq"
resolver = "2"

[features]
default = [
    "server",
    "iroh",
    "noq",
    "websocket",
]
iroh = [
    "server",
    "moq-native/iroh",
]
noq = [
    "server",
    "moq-native/noq",
]
quiche = [
    "server",
    "moq-native/quiche",
]
quinn = [
    "server",
    "moq-native/quinn",
]
server = [
    "dep:axum-server",
    "dep:clap",
    "dep:moq-native",
    "dep:rustls",
    "dep:sd-notify",
    "dep:tower-http",
]
websocket = [
    "server",
    "moq-native/websocket",
]

[lib]
name = "moq_rtc"
path = "src/lib.rs"
doctest = false

[[bin]]
name = "moq-rtc"
path = "bin/moq-rtc.rs"
doc = false
required-features = ["server"]

[[test]]
name = "bitstream"
path = "tests/bitstream.rs"

[dependencies.anyhow]
version = "1"
features = ["backtrace"]

[dependencies.axum]
version = "0.8"
features = ["tokio"]

[dependencies.axum-server]
version = "0.8"
features = ["tls-rustls"]
optional = true

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.hang]
version = "0.19"

[dependencies.moq-mux]
version = "0.7"

[dependencies.moq-native]
version = "0.17"
features = ["aws-lc-rs"]
optional = true
default-features = false

[dependencies.moq-net]
version = "0.1"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

[dependencies.rustls]
version = "0.23"
features = ["aws-lc-rs"]
optional = true
default-features = false

[dependencies.str0m]
version = "0.20"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.48"
features = ["full"]

[dependencies.tower-http]
version = "0.7"
features = ["cors"]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.tokio]
version = "1.48"
features = ["test-util"]

[target."cfg(unix)".dependencies.sd-notify]
version = "0.5"
optional = true