opus-codec 0.2.0

Safe Rust bindings for the Opus audio codec
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"
rust-version = "1.87"
name = "opus-codec"
version = "0.2.0"
authors = ["Denis Avvakumov"]
build = "build.rs"
exclude = [
    "opus/opus_data-*.tar.gz",
    "opus/dnn/models/**",
    "opus/dnn/dred_rdovae_constants.h",
    "opus/dnn/dred_rdovae_dec_data.c",
    "opus/dnn/dred_rdovae_dec_data.h",
    "opus/dnn/dred_rdovae_enc_data.c",
    "opus/dnn/dred_rdovae_enc_data.h",
    "opus/dnn/dred_rdovae_stats_data.c",
    "opus/dnn/dred_rdovae_stats_data.h",
    "opus/dnn/fargan_data.c",
    "opus/dnn/fargan_data.h",
    "opus/dnn/lace_data.c",
    "opus/dnn/lace_data.h",
    "opus/dnn/lossgen_data.c",
    "opus/dnn/lossgen_data.h",
    "opus/dnn/nolace_data.c",
    "opus/dnn/nolace_data.h",
    "opus/dnn/pitchdnn_data.c",
    "opus/dnn/pitchdnn_data.h",
    "opus/dnn/plc_data.c",
    "opus/dnn/plc_data.h",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings for the Opus audio codec"
homepage = "https://github.com/Deniskore"
readme = "README.md"
keywords = [
    "audio",
    "codec",
    "compression",
    "opus",
    "voice",
]
categories = [
    "api-bindings",
    "encoding",
    "compression",
    "multimedia::audio",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Deniskore/opus-codec"

[features]
default = []
dred = []
external-weights = ["dred"]
presume-avx2 = []
system-lib = []

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

[[example]]
name = "basic_example"
path = "examples/basic_example.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies]

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

[dev-dependencies.tempfile]
version = "3.27.0"

[build-dependencies.bindgen]
version = "0.72.1"

[build-dependencies.cmake]
version = "0.1"

[build-dependencies.pkg-config]
version = "0.3.33"

[build-dependencies.sha2]
version = "0.11.0"