| Crates.io | opus-static-sys |
| lib.rs | opus-static-sys |
| version | 1.5.2 |
| created_at | 2025-02-18 07:05:59.466476+00 |
| updated_at | 2025-04-01 17:33:20.343333+00 |
| description | Rust bindings to the reference Opus library (libopus) |
| homepage | https://github.com/hedgetechllc/opus-static-sys |
| repository | https://github.com/hedgetechllc/opus-static-sys |
| max_upload_size | |
| id | 1559646 |
| size | 15,188,203 |
opus-static-sys is an FFI Rust-binding to the reference Opus library libopus.
It uses bindgen to dynamically generate all Rust bindings and documentation, and will
always compile a static version of the underlying Opus library to ensure cross-system
capability without having to ensure that Opus is installed on the target system.
The library is fully no_std compatible and represents the minimal amount of overhead
or glue code needed to utilize libopus within a Rust project.
Rust documentation can be found here, which
corresponds directly to the libopus documentation.
In order to use this crate, you will need cmake installed on your build computer. Most
Linux-based operating systems provide this via the built-in package manager. It is available
on MacOS from Homebrew. On Windows, it should have been installed by default when you
installed the Visual Studio compiler.
To use, add the following to your Cargo.toml file:
[dependencies]
opus-static-sys = "1.5"
This library is licensed under the MIT license.