1 unstable release
0.1.0 | Mar 12, 2020 |
---|
#80 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.6–1.2MB
~27K SLoC