opus2 0.4.0

Safe Rust bindings for libopus
Documentation

opus2

Safe Rust bindings for libopus with an optional pure-Rust mousiki backend. The rustdoc includes brief descriptions for methods, and detailed API information can be found at the libopus documentation.

crates.io - docs.rs - upstream docs

External dependencies

With the default backend-libopus, you need either:

  • pkg-config and opus headers/libraries
  • cmake, make, and a C compiler

These requirements come from libopus_sys, where details about overriding these defaults can be found.

Features

  • backend-libopus (default): Use libopus_sys
  • backend-mousiki: Use the pure-Rust mousiki backend
  • static (default): Statically link to libopus
  • dynamic: Dynamically link to libopus
  • bundled: Build and bundle libopus from source

static, dynamic, and bundled only apply to backend-libopus.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.