Error when serve

You need to do cargo new testnotify --bin and add notify = "4.0.15" in the Cargo.toml file in the testnotify directory. Then you can replace the content of src/main.rs with what you have in this thread and run cargo run