2 unstable releases

Uses old Rust 2015

0.2.0 Sep 4, 2020
0.1.0 Nov 28, 2019

#218 in Audio

MIT license

431 lines

flac-bound TravisCI build status AppVeyorCI build status Licence Crates.io version

FLAC encoding via libFLAC FFI



There are two supported libFLAC back-ends:

  • flac-sys, under the "flac" feature, the default, and
  • libflac-sys, under the "libflac" feature.

flac-sys tries to link to a libFLAC already present on your system, but it doesn't do a very good job, and might need some help by copying /usr/lib/x86_64-linux-gnu/libFLAC.so (Debian), $MSYSROOT\mingw64\lib\libflac.dll.a (msys2), or equivalent to target/{debug,release}/deps as libflac.so/libflac.dll.a/&c. (note the lowercase).

libflac-sys tries to build libFLAC; this is a problem because it (a) doesn't work all that well (at all) under GNU/NT, and (b) requires the host system to have both CMake and a C toolchain funxional.

Downstreams are encouraged to expose these features to the user.

Special thanks

To all who support further development on Patreon, in particular:

  • ThePhD
  • Embark Studios


~13K SLoC