booter 1.1.1

A simple solution to register and call one-time initialization functions
Documentation

Booter

License Cargo Documentation

This crate allows a simple means to register FnOnce functions to be called on boot. Usage requires inventory to be added as a dependency.

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

fn main() {
  booter::boot();
  booter::assert_booted();
}