install bacon
:
cargo install --locked bacon
then run code expansion in watch mode:
bacon expand
and start hacking inside tests/playground.rs
.
cargo test
To update the readme with the content from cargo doc:
cargo readme > README.md
Rust files are formatted using
cargo fmt
Non-rust files are formatted using prettier
npx -y prettier --write .