Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.37 KB

File metadata and controls

59 lines (40 loc) · 1.37 KB

libxaac-sys

Crates.io Version

Rust FFI bindings for the vendored libxaac C library.

This crate exposes low-level bindings to the libxaac encoder and decoder APIs. By default it builds the bundled upstream sources and does not require a system installation of libxaac.

Upstream project: https://github.com/ittiam-systems/libxaac

Use https://github.com/RustedBytes/xaac-rs for your applications.

Features

  • bundled: Build the vendored libxaac sources with CMake. Enabled by default.
  • static: Prefer static linking. Enabled by default.
  • dynamic: Prefer dynamic linking when using a system-provided libxaac.

static and dynamic are mutually exclusive.

Linking Modes

Default:

[dependencies]
libxaac-sys = "0.1"

Bundled static build:

[dependencies]
libxaac-sys = { version = "0.1", features = ["bundled", "static"] }

System dynamic linking:

[dependencies]
libxaac-sys = { version = "0.1", default-features = false, features = ["dynamic"] }

System static linking:

[dependencies]
libxaac-sys = { version = "0.1", default-features = false, features = ["static"] }

License

This crate is licensed under Apache-2.0. The vendored upstream libxaac sources are included under their Apache-2.0 license in libxaac/LICENSE.