Crate firefly_types

Crate firefly_types 

Source
Expand description

Parser and serializer for the Firefly Zero metadata file format.

Based on postcard, no_std-compatible Rust-first binary serialization format.

Modules§

serial
Serialization for messages send over USB (“serial port”).
spi

Structs§

Badge
BadgeProgress
Badges
BatteryInfo
Board
BoardScores
Boards
FriendScore
Meta
Settings
ShortMeta
The full app ID.
Stats
Player-specific app stats, like playtime.

Enums§

BadgeValidationError
BoardValidationError
ValidationError

Traits§

Encode

Functions§

validate_id
Validate the author or the app ID or the device name.
validate_name
Validate a name (app name, author name).
validate_path_part
Validate a path component (file or directory name).