| Crates.io | safeboy |
| lib.rs | safeboy |
| version | 0.3.0-beta.6 |
| created_at | 2024-06-19 07:19:23.675748+00 |
| updated_at | 2025-12-26 18:51:21.085711+00 |
| description | Safe Rust wrapper for SameBoy |
| homepage | |
| repository | https://github.com/SnowyMouse/safeboy |
| max_upload_size | |
| id | 1276604 |
| size | 62,639 |
This crate provides a safe Rust wrapper for SameBoy, an accurate Game Boy emulator written in C.
In order to use this crate, you need the following:
alloc must be available (std is not required)usize must be at least 32 bits in widthAdditionally, SameBoy must be able to compile for your target. Note that as it is building just the emulator core, itself, most of its requirements do not apply (e.g. SDL). You really just need a C compiler like GCC or Clang.
For Windows, you also do not need Visual Studio installed. You can use the
i686-pc-windows-gnu and x86_64-pc-windows-gnu targets to build this crate,
and cross-compiling should generally work.
Since only the emulator core is being compiled, none of the SameBoy boot ROMs
will be provided. If you want those, you will need to compile those separately
using rgbds.