rusty-opus 0.9.1

pure Rust Opus codec - performance fork of opus-rs (AVX2 SILK/CELT kernels, frame-parallel encode)
Documentation
[package]

edition = "2024"

authors = ["jinti<shenjindi@fourz.cn>", "Remade-With-Rust"]

name = "rusty-opus"

version = "0.9.1"

description = "pure Rust Opus codec - performance fork of opus-rs (AVX2 SILK/CELT kernels, frame-parallel encode)"

license = "BSD-3-Clause"

repository = "https://github.com/Remade-With-Rust/rusty-opus"

homepage = "https://github.com/Remade-With-Rust/rusty-opus"

readme = "README.md"

keywords = ["opus", "audio", "codec", "decoder", "encoder"]

categories = ["multimedia::audio", "multimedia::encoding"]

rust-version = "1.85"

# Keep the published crate to the codec itself: no fuzz harness, no local

# debug traces, no WIP analysis tests.

exclude = [

    "fuzz/",

    "*.txt",

    "bench_quick.sh",

    "tests/analyze_encode.rs",

    # Campaign development tooling and corpus: dev-only, and the corpus WAVs

    # are regenerated by tools/gen_gate_corpus.py rather than shipped.

    "tools/",

    "fixtures/gate_corpus/",

    "docs/census-2026-08-07/",

]



[features]

# Dev-only stage profiler (src/prof.rs): per-stage tick buckets + dump().

# OFF (default) = zero-cost ZST guards, release builds byte-identical.

profile = []



[dev-dependencies]

criterion = { version = "0.8.2", features = ["html_reports"] }

proptest = "1"

# PROJECT CONVENTION: every encoder-carrying binary/bench/example runs under our

# own rusty_alloc (pure-Rust mimalloc remake), because that is what ships - an

# arm measured under the system allocator is not comparable to production.

# A DEV-dependency on purpose: the library must never set a global allocator, or

# it would hijack a downstream binary's choice.

rusty_alloc-api = "0.3"



[[bench]]

name = "opus_bench"

harness = false