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

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

[[bench]]
name = "audio_buffer"
path = "benches/audio_buffer.rs"
harness = false

[dependencies.byteorder]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.rand]
version = "0.9"

[dependencies.rtp]
version = "0.7.1"
package = "rtc-rtp"

[dependencies.shared]
version = "0.7.1"
features = []
default-features = false
package = "rtc-shared"

[dependencies.thiserror]
version = "1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.nearly_eq]
version = "0.2"
