libopusenc-static-sys

Crates.iolibopusenc-static-sys
lib.rslibopusenc-static-sys
version1.0.3
created_at2025-02-18 16:24:15.521305+00
updated_at2025-04-01 18:38:19.947737+00
descriptionRust bindings to the reference Opus Encoder library (libopusenc)
homepagehttps://github.com/hedgetechllc/libopusenc-static-sys
repositoryhttps://github.com/hedgetechllc/libopusenc-static-sys
max_upload_size
id1560123
size264,789
Will Hedgecock (hedgecrw)

documentation

https://docs.rs/libopusenc-static-sys/latest/

README

About

libopusenc-static-sys is an FFI Rust-binding to the reference Opus Encoder library libopusenc.

It uses bindgen to dynamically generate all Rust bindings and documentation, and will always compile a static version of the underlying Opus Encoder 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 libopusenc within a Rust project.

Rust documentation can be found here, which corresponds directly to the libopusenc documentation.

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-static-sys = "1.0"

License

This library is licensed under the MIT license.

Commit count: 5

cargo fmt