# 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 = "2021"
rust-version = "1.81.0"
name = "str0m"
version = "0.13.0"
authors = [
    "Martin Algesten <martin@algesten.se>",
    "Hugo Tunius <h@tunius.se>",
    "Davide Bertola <dade@dadeb.it>",
]
build = false
exclude = [
    "/cargo_deny.sh",
    "/deny.toml",
    "/run-fuzz.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebRTC library in Sans-IO style"
readme = "README.md"
keywords = [
    "webrtc",
    "streaming",
    "video",
    "audio",
    "media",
]
categories = [
    "web-programming",
    "multimedia",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/algesten/str0m"

[features]
_internal_dont_use_log_stats = []
_internal_test_exports = []
default = [
    "openssl",
    "vendored",
    "sha1",
    "examples",
]
dimpl = [
    "sha1",
    "dep:dimpl",
    "dep:aws-lc-rs",
]
examples = ["rouille/ssl"]
openssl = [
    "dep:openssl",
    "dep:openssl-sys",
    "dep:libc",
]
pii = []
sha1 = ["dep:sha1"]
unversioned = []
vendored = ["openssl?/vendored"]
wincrypto = ["dep:str0m-wincrypto"]

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

[[example]]
name = "chat"
path = "examples/chat.rs"
required-features = ["examples"]

[[example]]
name = "http-post"
path = "examples/http-post.rs"
required-features = ["examples"]

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

[[test]]
name = "change-ssrc-reset-receive"
path = "tests/change-ssrc-reset-receive.rs"

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

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

[[test]]
name = "data-channel"
path = "tests/data-channel.rs"

[[test]]
name = "data-channel-direct"
path = "tests/data-channel-direct.rs"

[[test]]
name = "flappy-ice-state"
path = "tests/flappy-ice-state.rs"

[[test]]
name = "ice-restart"
path = "tests/ice-restart.rs"

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

[[test]]
name = "mediatime-backwards"
path = "tests/mediatime-backwards.rs"

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

[[test]]
name = "no-local-media-added"
path = "tests/no-local-media-added.rs"

[[test]]
name = "no-pre-ice-feedback"
path = "tests/no-pre-ice-feedback.rs"

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

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

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

[[test]]
name = "rtp-direct-mid"
path = "tests/rtp-direct-mid.rs"

[[test]]
name = "rtp-direct-mid-rid"
path = "tests/rtp-direct-mid-rid.rs"

[[test]]
name = "rtp-direct-reset-ssrc"
path = "tests/rtp-direct-reset-ssrc.rs"

[[test]]
name = "rtp-direct-ssrc"
path = "tests/rtp-direct-ssrc.rs"

[[test]]
name = "rtp-direct-with-roc"
path = "tests/rtp-direct-with-roc.rs"

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

[[test]]
name = "rtx-cache-0"
path = "tests/rtx-cache-0.rs"

[[test]]
name = "sdp-negotiation"
path = "tests/sdp-negotiation.rs"

[[test]]
name = "srtp-replay-attack"
path = "tests/srtp-replay-attack.rs"

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

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

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

[[test]]
name = "unidirectional-r-create-media"
path = "tests/unidirectional-r-create-media.rs"

[[test]]
name = "user-rtp-header-extension"
path = "tests/user-rtp-header-extension.rs"

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

[dependencies.aws-lc-rs]
version = "1"
features = [
    "aws-lc-sys",
    "prebuilt-nasm",
]
optional = true
default-features = false

[dependencies.combine]
version = "4.6.6"

[dependencies.crc]
version = "3.0.0"

[dependencies.dimpl]
version = "0.1.5"
optional = true

[dependencies.fastrand]
version = "2.0.1"

[dependencies.hmac]
version = "0.12.1"

[dependencies.libc]
version = "0.2"
optional = true

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

[dependencies.openssl-sys]
version = "0.9.80"
optional = true

[dependencies.sctp-proto]
version = "0.5.0"

[dependencies.serde]
version = "1.0.152"
features = ["derive"]

[dependencies.tracing]
version = "0.1.37"

[dev-dependencies.pcap-file]
version = "2.0.0"

[dev-dependencies.rand]
version = "0.9.0"

[dev-dependencies.regex]
version = "1.11.1"

[dev-dependencies.rouille]
version = "3.6.2"
features = []

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.systemstat]
version = "0.2.2"

[dev-dependencies.tracing-subscriber]
version = "0.3.16"
features = [
    "env-filter",
    "std",
]

[target."cfg(unix)".dependencies.sha1]
version = "0.10.6"
features = ["asm"]
optional = true

[target."cfg(windows)".dependencies.sha1]
version = "0.10.6"
optional = true

[target."cfg(windows)".dependencies.str0m-wincrypto]
version = "0.2.1"
optional = true
