2 stable releases
1.1.2 | Sep 14, 2021 |
---|---|
1.1.1 | Jun 18, 2021 |
1.0.2 |
|
0.1.0 |
|
#44 in #called
4KB
65 lines
Booter
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();
}
lib.rs
:
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();
}
Dependencies
~1.5MB
~38K SLoC