| Crates.io | booter |
| lib.rs | booter |
| version | 1.1.2 |
| created_at | 2021-05-12 04:27:55.29172+00 |
| updated_at | 2021-09-14 07:56:05.436468+00 |
| description | A simple solution to register and call one-time initialization functions |
| homepage | |
| repository | https://github.com/Bajix/booter-rs/ |
| max_upload_size | |
| id | 396407 |
| size | 5,594 |
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();
}