# 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-srtp"
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 = "RTC SRTP in Rust"
homepage = "https://webrtc.rs"
documentation = "https://docs.rs/rtc-srtp"
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 = ["dep:openssl"]
vendored-openssl = ["openssl/vendored"]

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

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

[dependencies.aead]
version = "0.5.2"
features = ["std"]

[dependencies.aes]
version = "0.8.4"

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

[dependencies.byteorder]
version = "1.5.0"

[dependencies.bytes]
version = "1.11.0"

[dependencies.ctr]
version = "0.9.2"

[dependencies.hmac]
version = "0.12.1"
features = [
    "std",
    "reset",
]

[dependencies.openssl]
version = "0.10.72"
optional = true

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

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

[dependencies.sha1]
version = "0.10.6"

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

[dependencies.subtle]
version = "2.5.0"

[dev-dependencies.criterion]
version = "0.8.1"

[dev-dependencies.lazy_static]
version = "1.4.0"
