Crates.io | firefly-rust |
lib.rs | firefly-rust |
version | 0.7.1 |
source | src |
created_at | 2024-05-02 09:46:52.542305 |
updated_at | 2024-11-27 10:13:17.3616 |
description | Rust SDK for making Firefly Zero games |
homepage | |
repository | https://github.com/firefly-zero/firefly-rust |
max_upload_size | |
id | 1227602 |
size | 100,717 |
Rust SDK for making Firefly Zero games.
cargo add firefly_rust
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. The easiest way to do so is to activate the talc
feature (see below).talc
: enable a global talc-powered allocator. The same as the alloc
feature but you don't have to configure an allocator yourself.sudo
: required if you want to use sudo
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.MIT License. You can do whatever you want with the SDK, modify it, embed into any apps and games. Have fun!