This is a template for cargo-generate.
Use with cargo generate rksm/nannou-hot-reload
.
A workflow for quick feedback with nannou! For more details about Rust hot code reload see https://github.com/rksm/hot-lib-reloader-rs.
For development use two terminals to run the binary and (re-)build the lib:
$ cargo watch -i lib -x 'run --features reload'
$ cargo watch -w lib -x 'build -p lib'
With cargo runcc you just need to run cargo runcc -c runcc.yml
.
cargo build --release
cargo run --release