libao bindings for Rust.
Build with cargo
:
cargo build
Build documentation with rustdoc
, rooted at doc/ao/index.html
:
cargo doc
Run tests. Tests must not be run in parallel because libao may only be instantiated once in a given process. Running tests concurrently can cause race conditions on library initialization, causing spurious test failure:
REST_TEST_TASKS=1 cargo test
Examples are included in the documentation.