transition 0.1.2

Allows to visualize the execution and result of code using LED light blink(1)
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::error::Error;
use std::thread;
use std::time::Duration;
use transition::Transition;

fn main() -> Result<(), Box<dyn Error>> {
    let notification = Transition::default().start()?;
    thread::sleep(Duration::from_secs(5));
    notification.notify_success()?;
    Ok(())
}