1 unstable release
Uses new Rust 2024
new 0.2.1 | Apr 1, 2025 |
---|
#9 in #libopus
38 downloads per month
105KB
1.5K
SLoC
About
libopusenc-rs
is a safe Rust wrapper around the reference
libopusenc library which
provides a convenient high-level API for encoding audio data into the Opus format.
The library is fully no_std
compatible and represents the minimal amount of overhead
or glue code needed to utilize libopusenc
within a Rust project.
Rust documentation can be found here.
Building
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.
Installation
To use, add the following to your Cargo.toml
file:
[dependencies]
libopusenc = "0.2"
License
This library is licensed under the MIT license.
Dependencies
~6.5MB
~83K SLoC