A Rust macro for statically parsing firefly.toml.
It can be used through firefly-rust by activating firefly-toml crate feature:
cargo add firefly-rust --features firefly-tomlWhich will add firefly_rust::toml module with the helpers based on the firefly.toml config:
use firefly_rust::toml;
toml::some_badge(peer, 123);Or can be used directly via macro adding everything into the current scope:
mod toml {
firefly_toml::import!();
}
toml::some_badge(peer, 123);MIT License. You can do whatever you want with the code in here, modify it, embed into any apps and games. Have fun!
Originally developed by oli-obk and is currently officially maintained by the Firefly Zero core team.