booter 1.0.0

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 in order to create statics that can created pre-main and initalized post-main once Tokio is online and the enviroment configured.

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

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