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§
- call_
on_ boot - Register FnOnce to be called on booter::boot
Functions§
- assert_
booted - Development assertion to ensure booter::boot called. Release builds skip check
- boot
- Call all functions captured by booter::call_on_boot.