A binding of libxm for Rust.
A small XM (FastTracker II Extended Module) player library. Designed for easy integration in demos and such, and provides timing functions for easy sync against specific instruments, samples or channels.
As with libxm, this library is released under the WTFPL license.
Documentation: https://nukep.github.io/libxm-rs/libxm
libxm
By default, libxm-sys
statically links and compiles libxm
.
This is to allow users to get started with the library more quickly.
If you wish to provide your own shared or custom version of libxm
, you can
override the build step for libxm-sys
in a .cargo/config
file
(see http://doc.crates.io/build-script.html#overriding-build-scripts).
toml
[target.x86_64-unknown-linux-gnu.xm]
rustc-flags = "-l xm"