1 unstable release
0.1.0 | Mar 12, 2020 |
---|
#77 in #npm
4KB
74 lines
cargo-exec
cargo-exec
brings the npm run
functionality to the Rust and Cargo ecosystem.
Install
cargo install cargo-exec
Defining Scripts
Scripts are defined by adding a [package.metadata.scripts]
section to the Cargo.toml
file of your project, as shown below.
[package.metadata.scripts]
hello = "echo Hello"
Running Scripts
cargo exec hello
Dependencies
~0.5–1MB
~24K SLoC