opus2 0.4.0

Safe Rust bindings for libopus
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 = "opus2"
version = "0.4.0"
authors = [
    "nemurubaka <cijiugechu@gmail.com>",
    "Tad Hardesty <tad@platymuus.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings for libopus"
documentation = "https://docs.rs/opus2"
readme = "README.md"
keywords = [
    "opus",
    "codec",
    "voice",
    "sound",
    "audio",
]
categories = [
    "api-bindings",
    "encoding",
    "compression",
    "multimedia::audio",
    "multimedia::encoding",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/cijiugechu/opus2"

[features]
backend-libopus = ["dep:libopus_sys"]
backend-mousiki = ["dep:mousiki"]
bundled = ["libopus_sys/bundled"]
default = [
    "backend-libopus",
    "static",
]
dynamic = ["libopus_sys/dynamic"]
static = ["libopus_sys/static"]

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

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

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

[[test]]
name = "opus-padding"
path = "tests/opus-padding.rs"

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

[dependencies.libopus_sys]
version = "0.3.2"
optional = true

[dependencies.mousiki]
version = "0.2.1"
optional = true