rustrtc 0.3.13

A high-performance implementation of WebRTC
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 = "rustrtc"
version = "0.3.13"
authors = ["jinti<shenjindi@fourz.cn>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance implementation of WebRTC"
readme = "README.md"
keywords = [
    "rtp",
    "srtp",
    "webrtc",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/restsend/rustrtc"

[features]
default = []
simulator = []

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

[[example]]
name = "audio_saver"
path = "examples/audio_saver.rs"

[[example]]
name = "benchmark"
path = "examples/benchmark.rs"

[[example]]
name = "datachannel_chat"
path = "examples/datachannel_chat.rs"

[[example]]
name = "datachannel_stress"
path = "examples/datachannel_stress.rs"

[[example]]
name = "dtls_srtp_bench"
path = "examples/dtls_srtp_bench.rs"

[[example]]
name = "echo_server"
path = "examples/echo_server.rs"

[[example]]
name = "interop_pion"
path = "examples/interop_pion.rs"

[[example]]
name = "latency_optimization"
path = "examples/latency_optimization.rs"

[[example]]
name = "repro_sdp"
path = "examples/repro_sdp.rs"

[[example]]
name = "rtp_bench_echo"
path = "examples/rtp_bench_echo.rs"

[[example]]
name = "rtp_bench_generator"
path = "examples/rtp_bench_generator.rs"

[[example]]
name = "rtp_bench_sut"
path = "examples/rtp_bench_sut.rs"

[[example]]
name = "rtp_play"
path = "examples/rtp_play.rs"

[[example]]
name = "rtp_reinvite_demo"
path = "examples/rtp_reinvite_demo.rs"

[[example]]
name = "rtp_track_event"
path = "examples/rtp_track_event.rs"

[[example]]
name = "rustrtc_sfu"
path = "examples/rustrtc_sfu.rs"

[[example]]
name = "sctp_benchmark"
path = "examples/sctp_benchmark.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aes]
version = "0.8"

[dependencies.aes-gcm]
version = "0.10.3"
features = ["std"]

[dependencies.anyhow]
version = "1"

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

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1"
features = ["serde"]

[dependencies.crc32c]
version = "0.6"

[dependencies.crc32fast]
version = "1.5.0"

[dependencies.ctr]
version = "0.9"

[dependencies.futures]
version = "0.3.31"

[dependencies.hmac]
version = "0.12"

[dependencies.md5]
version = "0.10"
package = "md-5"

[dependencies.network-interface]
version = "2"

[dependencies.p256]
version = "0.13.2"
features = [
    "ecdh",
    "std",
    "ecdsa",
    "pkcs8",
]

[dependencies.rand]
version = "0.9.2"

[dependencies.rand_core]
version = "0.6"
features = ["std"]

[dependencies.rcgen]
version = "0.14.6"
features = [
    "aws_lc_rs",
    "pem",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.axum]
version = "0.8"
features = ["multipart"]

[dev-dependencies.dtls]
version = "0.13.0"

[dev-dependencies.env_logger]
version = "0.11.8"

[dev-dependencies.indicatif]
version = "0.18.3"

[dev-dependencies.reqwest]
version = "0.13.1"
features = ["json"]

[dev-dependencies.rustls]
version = "0.23.36"

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

[dev-dependencies.tower-http]
version = "0.6"
features = [
    "fs",
    "trace",
    "cors",
]

[dev-dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]

[dev-dependencies.turn]
version = "0.11.0"

[dev-dependencies.webrtc]
version = "0.14.0"

[dev-dependencies.webrtc-util]
version = "0.12.0"