booter 1.1.2

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.

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

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