# 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"
name = "saorsa-webrtc-codecs"
version = "0.3.2"
authors = [
    "Saorsa Labs Limited <saorsalabs@gmail.com>",
    "David Irvine <david@maidsafe.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Video and audio codecs for Saorsa WebRTC"
documentation = "https://docs.rs/saorsa-webrtc-codecs"
readme = false
license = "AGPL-3.0"
repository = "https://github.com/dirvine/saorsa-webrtc"

[features]
default = ["h264"]
h264 = ["openh264"]
opus = ["dep:opus"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bytes]
version = "1.5"

[dependencies.openh264]
version = "0.7"
optional = true

[dependencies.opus]
version = "0.3"
optional = true

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.proptest]
version = "1.4"
