Example of notify-rs Run test cargo test Display output live // Set to true within lib.rs to print output const DEBUG: bool = true cargo test -- --nocapture