booter

Crates.iobooter
lib.rsbooter
version1.1.2
sourcesrc
created_at2021-05-12 04:27:55.29172
updated_at2021-09-14 07:56:05.436468
descriptionA simple solution to register and call one-time initialization functions
homepage
repositoryhttps://github.com/Bajix/booter-rs/
max_upload_size
id396407
size5,594
Thomas Sieverding (Bajix)

documentation

README

Booter

License Cargo Documentation

This crate allows a simple means to register FnOnce functions to be called on boot.

booter::call_on_boot!({
  println!("Hello World!");
});

fn main() {
  booter::boot();
  booter::assert_booted();
}
Commit count: 8

cargo fmt