firefly-rust

Crates.iofirefly-rust
lib.rsfirefly-rust
version0.7.1
sourcesrc
created_at2024-05-02 09:46:52.542305
updated_at2024-11-27 10:13:17.3616
descriptionRust SDK for making Firefly Zero games
homepage
repositoryhttps://github.com/firefly-zero/firefly-rust
max_upload_size
id1227602
size100,717
Gram (orsinium)

documentation

README

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. 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.

License

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

Commit count: 134

cargo fmt