11 releases (6 breaking)
new 0.7.0 | Nov 24, 2024 |
---|---|
0.6.0 | Nov 16, 2024 |
0.5.0 | Oct 19, 2024 |
0.4.0 | Oct 5, 2024 |
0.1.2 | May 6, 2024 |
#55 in Rendering
139 downloads per month
91KB
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 useFileBuf
. Allows the crate to do memory allocations. If you enablealloc
but notstd
, you have to also provide a global allocator. The easiest way to do so is to activate thetalc
feature (see below).talc
: enable a global talc-powered allocator. The same as thealloc
feature but you don't have to configure an allocator yourself.sudo
: required if you want to usesudo
module. Enables privileged access to the Firefly Zero device.nalgebra
: 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–670KB
~13K SLoC