booter 1.0.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 and call one time initialization functions, the idea being this could be used in conjunction with static_init or std::mem::MaybeUninit in order to create statics that can be initalized once post-main after Tokio is online and the enviroment configured.

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

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