rtc-crypto 0.21.1

Provider-neutral cryptography for the webrtc-rs RTC stack
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 = "rtc-crypto"
version = "0.21.1"
authors = ["Rain Liu <yliu@webrtc.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provider-neutral cryptography for the webrtc-rs RTC stack"
homepage = "https://webrtc.rs"
documentation = "https://docs.rs/rtc-crypto"
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]
crypto-aws-lc-rs = [
    "dep:aws-lc-rs",
    "dep:aes",
    "dep:ctr",
    "dep:ccm",
    "dep:md-5",
    "dep:hmac",
    "dep:sha1",
]
crypto-ring = [
    "dep:ring",
    "dep:aes",
    "dep:ctr",
    "dep:ccm",
    "dep:md-5",
    "dep:hmac",
    "dep:sha1",
]
default = ["crypto-ring"]
test-support = []

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

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

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

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

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

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

[dependencies.aes]
version = "0.8.4"
optional = true

[dependencies.aws-lc-rs]
version = "1.17.3"
features = ["aws-lc-sys"]
optional = true
default-features = false

[dependencies.ccm]
version = "0.5.0"
optional = true

[dependencies.ctr]
version = "0.9.2"
optional = true

[dependencies.hmac]
version = "0.12.1"
optional = true

[dependencies.md-5]
version = "0.10.6"
optional = true

[dependencies.rand]
version = "0.10.1"

[dependencies.ring]
version = "0.17.14"
optional = true

[dependencies.sha1]
version = "0.10.6"
optional = true

[dependencies.subtle]
version = "2.6.1"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.zeroize]
version = "1.8.2"

[dev-dependencies.pem]
version = "3.0.3"