letter/
letter.rs

1use this_executable_will_self_destruct::ThisExecutableWillSelfDestruct;
2use std::time::Duration;
3
4fn main() {
5    println!("This executable will self-destruct in five seconds");
6    ThisExecutableWillSelfDestruct::new(Duration::from_secs(5)).fire();
7}