[dependencies.aes]
version = "0.8"
[dependencies.aes-gcm]
features = ["std"]
version = "0.10.3"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
features = ["serde"]
version = "1"
[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]
package = "md-5"
version = "0.10"
[dependencies.p256]
features = ["ecdh", "std", "ecdsa", "pkcs8"]
version = "0.13.2"
[dependencies.rand_core]
features = ["std"]
version = "=0.6.4"
[dependencies.rcgen]
version = "0.14.5"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.sha1]
version = "0.10"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
features = ["rt-multi-thread", "macros", "sync", "time", "net", "io-util"]
version = "1"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.axum]
features = ["multipart"]
version = "0.8"
[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]
features = ["json"]
version = "0.12.24"
[dev-dependencies.tower]
features = ["util", "timeout"]
version = "0.5"
[dev-dependencies.tower-http]
features = ["fs", "trace", "cors"]
version = "0.6"
[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3.22"
[dev-dependencies.turn]
version = "0.11.0"
[dev-dependencies.webrtc]
version = "0.14.0"
[dev-dependencies.webrtc-util]
version = "0.12.0"
[[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 = "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 = "rtp_play"
path = "examples/rtp_play.rs"
[lib]
name = "rustrtc"
path = "src/lib.rs"
[package]
authors = ["jinti<shenjindi@fourz.cn>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming"]
description = "A pure Rust implementation of WebRTC"
edition = "2024"
keywords = ["rtp", "srtp", "webrtc"]
license = "MIT"
name = "rustrtc"
readme = "README.md"
repository = "https://github.com/restsend/rustrtc"
version = "0.2.2"
[[test]]
name = "e2e_interop"
path = "tests/e2e_interop.rs"
[[test]]
name = "interop_datachannel"
path = "tests/interop_datachannel.rs"
[[test]]
name = "interop_turn"
path = "tests/interop_turn.rs"
[[test]]
name = "interop_webrtc"
path = "tests/interop_webrtc.rs"
[[test]]
name = "repro_padding"
path = "tests/repro_padding.rs"
[[test]]
name = "srtcp_debug"
path = "tests/srtcp_debug.rs"
[[test]]
name = "stun_comparison"
path = "tests/stun_comparison.rs"
[[test]]
name = "stun_compat"
path = "tests/stun_compat.rs"