Skip to content

rksm/rust-hot-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a template for cargo-generate. Use with cargo generate rksm/rust-hot-reload.

{{project-name}}

A workflow for quick feedback while writing Rust! See https://github.com/rksm/hot-lib-reloader-rs and https://robert.kra.hn/posts/hot-reloading-rust/ for more info.

Usage

Hot reload for development

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.

Statically build or run for release

cargo build --release
cargo run --release

Releases

No releases published

Packages

No packages published

Languages