2 unstable releases
0.2.0 | Jul 22, 2023 |
---|---|
0.1.0 | Jul 22, 2023 |
#630 in Cargo plugins
105 downloads per month
4KB
66 lines
cargo-advrunner
An advanced configurable runner for cargo.
Usage
-
Install
cargo-advrunner
cargo install cargo-advrunner
-
Add the
.cargo/config.toml
entry.runner = "cargo-advrunner"
-
Add the
advrunner.toml
config file.[test] command = "<command to use for cargo test>" [run] command = "<command to use for cargo run>"
Examples
WASM
Configure advrunner.toml
to run using wasm-server-runner
, test using wasm-bindgen-test-runner
:
[test]
command = "wasm-bindgen-test-runner"
[run]
command = "wasm-server-runner"
Set the runner to only be used for WASM at .cargo/config.toml
:
[target.wasm32-unknown-unknown]
runner = "cargo-advrunner"
Dependencies
~0.8–8MB
~66K SLoC