| Crates.io | opus-codec |
| lib.rs | opus-codec |
| version | 0.1.2 |
| created_at | 2025-12-03 09:19:53.954708+00 |
| updated_at | 2025-12-20 08:45:25.959057+00 |
| description | Safe Rust bindings for the Opus audio codec |
| homepage | https://github.com/Deniskore |
| repository | https://github.com/Deniskore/opus-codec |
| max_upload_size | |
| id | 1963679 |
| size | 15,296,843 |
Safe Rust wrappers around libopus for encoding/decoding Opus audio, with tests that validate core functionality against ffmpeg.
presume-avx2: Build the bundled libopus with OPUS_X86_PRESUME_AVX2 on x86/x86_64 targets, assuming AVX/AVX2/FMA support. Ignored when linking against a system libopus.dred: Enable libopus DRED support (downloads the model when building the bundled library). The bundled DRED build currently assumes a Unix-like host with sh, wget, and tar, it is not supported on Windows.system-lib: Link against a system-provided libopus instead of the bundled sources.Minimum Supported Rust Version (MSRV): 1.87.0.
This crate is licensed under either of
at your option.
The upstream libopus sources are vendored via git subtree at tag v1.5.2 (split commit ddbe48383984d56acd9e1ab6a090c54ca6b735a6).
You can verify the copy is pristine by diffing opus/ against that upstream commit.