Rust Compile and Run is a command-line utility that simplifies the process of compiling, running, and cleaning up Rust executables. It offers various features like watching for file changes, running in a temporary directory, and optional notifications.
To install the package, run:
cargo install rust_compile_runThis will add two binaries.
- rust_compile_run
- rustcr
rust_compile_run -f your_file.rs
rustcr -nwf your_file.rsrust_compile_run -tf your_file.rs
rustcr -tf your_file.rsrust_compile_run -wf your_file.rs
rustcr -wf your_file.rsrust_compile_run -nf your_file.rs
rustcr -nf your_file.rs- Compile and Run: Compiles and runs a given Rust file.
- Temporary Directory: Optionally compiles and runs the Rust file in a temporary directory.
- Watch Mode: Watches for file changes and recompiles.
- Notifications: Optional notifications for compile and run status.
This project is licensed under the MIT License - see the LICENSE file for details.
