opusic-sys

Crates.ioopusic-sys
lib.rsopusic-sys
version0.5.0
sourcesrc
created_at2018-11-12 19:07:56.349969
updated_at2024-05-11 08:23:31.942853
descriptionBindings to libopus
homepage
repositoryhttps://github.com/DoumanAsh/opusic-sys
max_upload_size
id96323
size23,086,424
Douman (DoumanAsh)

documentation

README

opusic-sys

Rust Crates.io Documentation

Bindings to libopus

Target version 1.5.2

Setup

If the OPUS_LIB_DIR environment variable is set, it will be searched for the opus library. Otherwise, a static library will be built automatically.

Android build

When building for android, library requires presence of env variable ANDROID_NDK_HOME in order to supply cmake with toolchain file and correct target arch.

Re-generate bindings

The feature build-bindgen is used to generate bindings.

To use it set env variable LIBCLANG_PATH to directory that contains clang binaries

Requirements

  • cmake

Optional

  • ninja - When present, build script defaults to use this generator
Commit count: 41

cargo fmt