3 releases

0.1.3 Jun 14, 2020
0.1.2 Feb 14, 2020
0.1.0 Feb 10, 2020

#6 in #sf2

LGPL-2.1

10KB
125 lines

Bundled fluidlite library

License: LGPL-2.1 Crates.io Package Docs.rs API Docs Travis-CI Status

This crate provides bundled fluidlite C library for using with fluidlite crate in case when system-wide library is not available.

Usage

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 _;

Features

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

No runtime deps

~0–1.5MB
~22K SLoC