Crates.io | libxm |
lib.rs | libxm |
version | 1.1.1 |
source | src |
created_at | 2015-02-10 22:33:25.030127 |
updated_at | 2024-10-25 00:59:51.800031 |
description | 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. |
homepage | |
repository | https://github.com/nukep/libxm-rs |
max_upload_size | |
id | 1373 |
size | 617,010 |
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 is hosted here: https://docs.rs/libxm/
If libxm
is built locally (this is the default!), you must have a C compiler
on your system that supports the C11 standard.
If you don't wish to build locally, a shared library that you have pre-built
can be provided by following the steps below.
libxm
By default, libxm-rs
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 xm
in a .cargo/config
file
(see https://doc.rust-lang.org/cargo/reference/build-scripts.html#overriding-build-scripts).
[target.x86_64-unknown-linux-gnu.xm]
rustc-flags = "-l xm"