9 releases (5 breaking)
Uses new Rust 2024
| new 0.7.1 | Jan 4, 2026 |
|---|---|
| 0.6.1 | Aug 16, 2025 |
| 0.6.0 | Jul 20, 2025 |
| 0.5.0 | Jan 22, 2025 |
| 0.2.0 | Jul 28, 2024 |
#2158 in Encoding
Used in 2 crates
32KB
605 lines
Parser and serializer for the Firefly Zero metadata file format.
Based on postcard, no_std-compatible Rust-first binary serialization format.
firefly-types
[ 📄 docs ] [ 🐙 github ] [ 📦 crates.io ]
Rust crate for serializing and parsing the Firefly Zero metadata file format. It is used by firefly-runtime and firefly-launcher and can be useful if you're making your own launcher.
Installation
cargo add firefly-types
Usage
use firefly_rust::sudo;
use firefly_types::Meta;
let meta_path = "roms/sys/launcher/_meta";
let meta_raw = sudo::load_file_buf(meta_path).unwrap();
let meta = Meta::decode(meta_raw.data()).unwrap();
License
MIT License. Feel free to use and modify for any purposes in any apps, commercial or not.
Dependencies
~0.6–1.2MB
~27K SLoC