You can simply add this as dependency to your manifest:
[dependencies] fluidlite = "^0.1" # Use bundled library to avoid unresolved links fluidlite-lib = "^0.1"
Next you should say compiler that you want to use that crate:
// Either in traditional manner extern crate fluidlite_lib; // Or in Rust2018 manner use fluidlite_lib as _;
You can apply some customizations to library using those features:
- shared Force bundle shared (or dynamic) library instead of static
- with-sf3 Enable SoundFont3 support which requires ogg/vorbis (system or bundled)
- with-stb Use stb-vorbis instead of Xiph's libogg/libvorbis