#gamedev #firefly-zero #api-bindings

no-std firefly-rust

Rust SDK for making Firefly Zero games

10 releases (5 breaking)

new 0.6.0 Nov 16, 2024
0.5.0 Oct 19, 2024
0.4.0 Oct 5, 2024
0.3.0 Jul 11, 2024
0.1.2 May 6, 2024

#56 in Rendering

Download history 2/week @ 2024-07-28 26/week @ 2024-09-15 15/week @ 2024-09-22 115/week @ 2024-09-29 57/week @ 2024-10-06 96/week @ 2024-10-13 55/week @ 2024-10-20 4/week @ 2024-10-27 11/week @ 2024-11-03

170 downloads per month

MIT license

90KB
2.5K 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–610KB
~12K SLoC