Crate booter[][src]

Expand description

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();
}

Macros

Register FnOnce to be called on booter::boot

Functions

Development assertion to ensure booter::boot called. Release builds skip check

Call all functions captured by booter::call_on_boot.