#gamedev #firefly-zero #api-bindings

no-std firefly-rust

Rust SDK for making Firefly Zero games

4 releases

new 0.2.0 May 12, 2024
0.1.2 May 6, 2024
0.1.1 May 2, 2024
0.1.0 May 2, 2024

#188 in Rendering

Download history 232/week @ 2024-04-28 171/week @ 2024-05-05

403 downloads per month

MIT license

57KB
2K SLoC

firefly-rust

Rust SDK for making Firefly Zero games.

Installation

cargo add firefly_rust

Cargo features

  • std: required if you don't build your project with #![no_std]. It will remove from the crate the custom panic handler to avoid conflicts with the standard library.
  • alloc: required if you want to use FileBuf. Allows the crate to do memory allocations. If you enable alloc but not std, you have to also provide a global allocator. We recommend using talc.
  • sudo: required if you want to use sudo module. Enables privileged access to the device.
  • nalgebra_support: can be activated if you use nalgebra. Enables type conversion to and from nalgebra vectors.

License

MIT License. You can do whatever you want with the SDK, modify it, embed into any apps and games. Have fun!

Dependencies

~0–600KB
~12K SLoC