apprtc 0.4.0

AppRTC P2P/SFU Server in Rust
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"
name = "apprtc"
version = "0.4.0"
authors = ["Rain Liu <y@liu.mx>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AppRTC P2P/SFU Server in Rust"
homepage = "https://appr.tc"
readme = "README.md"
keywords = [
    "signaling",
    "networking",
    "protocols",
    "sans-io",
]
categories = [
    "network-programming",
    "asynchronous",
    "multimedia",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/webrtc-rs/apprtc"

[lib]
name = "apprtc"
path = "src/lib.rs"

[[bin]]
name = "apprtc"
path = "src/bin/apprtc.rs"

[[bin]]
name = "sfu"
path = "src/bin/sfu.rs"

[[bin]]
name = "signaling"
path = "src/bin/signaling.rs"

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.103"

[dependencies.async-trait]
version = "0.1"

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

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4.45"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.env_logger]
version = "0.11.11"

[dependencies.futures-util]
version = "0.3"

[dependencies.log]
version = "0.4.33"

[dependencies.minijinja]
version = "2"

[dependencies.rand]
version = "0.10.1"

[dependencies.rtc]
version = "0.20.0-rc.4"

[dependencies.rustls]
version = "0.23.41"
features = [
    "ring",
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-pemfile]
version = "2.2.0"

[dependencies.sansio]
version = "1.0.1"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.150"

[dependencies.sfu]
version = "0.4.0"

[dependencies.signaling]
version = "0.4.0"

[dependencies.signaling-proto]
version = "0.4.0"

[dependencies.tokio]
version = "1"
features = [
    "io-util",
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dependencies.tokio-rustls]
version = "0.26.4"
features = [
    "logging",
    "ring",
    "tls12",
]
default-features = false

[dependencies.tokio-stream]
version = "0.1"
features = ["net"]

[dependencies.tokio-tungstenite]
version = "0.29"
features = ["rustls-tls-webpki-roots"]

[dependencies.tonic]
version = "0.14.6"
features = [
    "tls-ring",
    "tls-webpki-roots",
]

[dependencies.tower-http]
version = "0.6"
features = ["fs"]

[dependencies.url]
version = "2"

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

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

[dev-dependencies.webrtc]
version = "0.20.0-rc.4"