#gamedev #firefly-zero #api-bindings

no-std firefly-rust

Rust SDK for making Firefly Zero games

9 releases (4 breaking)

new 0.5.0 Oct 19, 2024
0.4.0 Oct 5, 2024
0.3.0 Jul 11, 2024
0.2.2 Jun 23, 2024
0.1.2 May 6, 2024

#52 in Rendering

Download history 113/week @ 2024-07-06 18/week @ 2024-07-13 1/week @ 2024-07-20 2/week @ 2024-07-27 24/week @ 2024-09-14 15/week @ 2024-09-21 10/week @ 2024-09-28 160/week @ 2024-10-05 16/week @ 2024-10-12 134/week @ 2024-10-19

321 downloads per month

MIT license

88KB
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