Crates.io | game-music-emu |
lib.rs | game-music-emu |
version | 0.2.0 |
source | src |
created_at | 2021-02-28 07:40:22.904177 |
updated_at | 2021-02-28 07:40:22.904177 |
description | Rust bindings for Game Music Emu |
homepage | |
repository | https://github.com/JayPavlina/Game-Music-Emu-Rust |
max_upload_size | |
id | 361704 |
size | 956,480 |
This crate contains Rust bindings for Game Music Emu. It is pretty barebones at the moment and does not cover everything, but eventually it will have bindings for most of the functions in gme.h.
Add the following to your Cargo.toml
.
game-music-emu = "0.2"
Just like the regular version of Game Music Emu, you can choose which emulators are included by adding features to your Cargo.toml
.
For example, if you only want to use Nintendo and Game Boy emulators, you'd write:
gme = { version = 0.1, default-features = false, features = ["gbs", "nsf"] }
See Cargo.toml for all available features. The build logic is in build.rs. You can call gme::type_list()
at runtime for a list of emulators you compiled with.
##Usage
See the example for usage.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Game Music Emu is licensed under LGPLv2.1. See its license for details.