### Rust reference (`wai-rs/`, crate `wai` 0.3.0)

- `cargo build --release` produces `libwai.dylib`/`.so`/`.dll` (cdylib),
  `libwai.a` (staticlib), and `libwai.rlib` (Rust-native). The crate
  type list is `["lib", "cdylib", "staticlib"]` — drop-in for any
  language's C-FFI binding.
- Codec wrappers: `image` (PNG, JPEG via `jpeg-encoder`, AVIF via
  `ravif` + `libavif-image` for decode, JPEG-XL via `jpegxl-rs`), `opus`
  (RFC 7845 Ogg-Opus container so output drops into ffmpeg/VLC/browsers),
  `claxon`+`flac-bound` for FLAC, `rav1e`+`dav1d` for AV1 (lossy +
  lossless), `zstd`+`xz2` for text.
- Generated C header: `include/wai.h` is regenerated by `build.rs` via
  `cbindgen` on every build. SDK consumers get a typed header rather
  than hand-writing `extern "C"` decls.
- Cross-platform linkage: `build.rs` probes `pkg-config` for libflac;
  the macOS-hardcoded `.cargo/config.toml` from v0.2.x is gone. Builds
  clean on macOS (Homebrew) and Linux (apt) without `RUSTFLAGS`.

