Skip to content

firefly-zero/firefly-toml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firefly-toml

A Rust macro for statically parsing firefly.toml.

Usage

It can be used through firefly-rust by activating firefly-toml crate feature:

cargo add firefly-rust --features firefly-toml

Which 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);

License

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.

About

🪚 A Rust macro for statically parsing firefly.toml

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages