4 releases (2 breaking)
|0.3.1||Dec 17, 2021|
|0.3.0||Dec 15, 2021|
|0.2.0||Aug 27, 2021|
|0.1.0||May 30, 2021|
#1069 in Command line utilities
85 downloads per month
Disclaimer: This tool was built out of wanting a missing piece in the Rust development experience when initially learning the language, and is not likely to be optimal or feature complete just yet.
cargo install cargo-run-bin
- Add your binary dependency to your
Cargo.tomllike any dependency
cargo add --dev flamegraph
- Run your desired command prefixed with
cargo bin. Note first runs will build your binary silently first before executing, all future runs will be instant.
cargo bin flamegraph --help
- Update your .gitignore to exclude the cached binaries.
echo ".bin/" >> .gitignore