# 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 = "rtc"
version = "0.20.0-beta.2"
authors = ["Rain Liu <yliu@webrtc.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-I/O WebRTC implementation in Rust"
homepage = "https://webrtc.rs"
documentation = "https://docs.rs/rtc"
readme = "README.md"
keywords = [
    "sansio",
    "networking",
    "protocols",
]
categories = ["network-programming"]
license = "MIT/Apache-2.0"
repository = "https://github.com/webrtc-rs/rtc"
resolver = "2"

[features]
openssl = ["srtp/openssl"]
pem = [
    "dep:pem",
    "dtls/pem",
]
vendored-openssl = ["srtp/vendored-openssl"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1.11.0"

[dependencies.datachannel]
version = "0.20.0-beta.2"
package = "rtc-datachannel"

[dependencies.dtls]
version = "0.20.0-beta.2"
package = "rtc-dtls"

[dependencies.hex]
version = "0.4"
features = []

[dependencies.ice]
version = "0.20.0-beta.2"
package = "rtc-ice"

[dependencies.interceptor]
version = "0.20.0-beta.2"
package = "rtc-interceptor"

[dependencies.log]
version = "0.4.29"

[dependencies.mdns]
version = "0.20.0-beta.2"
package = "rtc-mdns"

[dependencies.media]
version = "0.20.0-beta.2"
package = "rtc-media"

[dependencies.pem]
version = "3"
optional = true

[dependencies.rand]
version = "0.9.2"

[dependencies.rcgen]
version = "0.14.6"
features = [
    "pem",
    "x509-parser",
]

[dependencies.ring]
version = "0.17.14"

[dependencies.rtcp]
version = "0.20.0-beta.2"
package = "rtc-rtcp"

[dependencies.rtp]
version = "0.20.0-beta.2"
package = "rtc-rtp"

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

[dependencies.sansio]
version = "1"

[dependencies.sctp]
version = "0.20.0-beta.2"
package = "rtc-sctp"

[dependencies.sdp]
version = "0.20.0-beta.2"
package = "rtc-sdp"

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"
features = []

[dependencies.sha2]
version = "0.10"

[dependencies.shared]
version = "0.20.0-beta.2"
features = [
    "crypto",
    "marshal",
    "replay",
]
default-features = false
package = "rtc-shared"

[dependencies.srtp]
version = "0.20.0-beta.2"
package = "rtc-srtp"

[dependencies.stun]
version = "0.20.0-beta.2"
package = "rtc-stun"

[dependencies.turn]
version = "0.20.0-beta.2"
package = "rtc-turn"

[dependencies.unicase]
version = "2.8"

[dependencies.url]
version = "2"
features = []

[dev-dependencies.anyhow]
version = "1"

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

[dev-dependencies.tokio]
version = "1.49.0"
features = ["full"]

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