Fast Rust dev loop for real projects:
doctorchecks your local toolchain (sccache, mold, etc.)initgenerates optional.cargo/config.tomlfor faster buildswatchrerunscargo check/test/runon file changescheck/test/runwrappers apply opt-in fast env defaults
Website: https://pas7.com.ua/ LinkedIn: https://www.linkedin.com/company/pas7-studio
cargo install cargo-fastdevcargo fastdev doctor
cargo fastdev init --print
# write .cargo/config.toml (opt-in)
cargo fastdev init --write
# fast loop
cargo fastdev watch check
cargo fastdev watch test
cargo fastdev watch run -- --bin my_appBy default, cargo-fastdev is conservative:
- It does not modify your project unless you use init --write.
- It uses opt-in flags for more aggressive settings (wrapper/flags).
Prints detected tooling and suggestions:
cargo fastdev doctor --format json
cargo fastdev doctorGenerates .cargo/config.toml snippet:
cargo fastdev init --print
cargo fastdev init --write
cargo fastdev init --write --use-sccache --use-moldRe-runs a cargo subcommand on changes:
cargo fastdev watch check
cargo fastdev watch test
cargo fastdev watch run -- --example hello- run: cargo install cargo-fastdev
- run: cargo fastdev doctor
- run: cargo fastdev checkKo-fi: https://ko-fi.com/pas7studio
PayPal: https://www.paypal.com/ncp/payment/KDSSNKK8REDM8
Apache-2.0. See LICENSE and NOTICE. Trademarks: see TRADEMARKS.md.