cargo-advrunner

Crates.iocargo-advrunner
lib.rscargo-advrunner
version0.3.1
created_at2023-07-22 02:01:37.296686+00
updated_at2025-08-27 17:53:51.04588+00
descriptionAn advanced configurable cargo runner.
homepage
repositoryhttps://github.com/MOZGIII/cargo-advrunner
max_upload_size
id922843
size15,663
MOZGIII (MOZGIII)

documentation

README

cargo-advrunner

An advanced configurable runner for cargo.

Usage

  1. Install cargo-advrunner

    cargo install cargo-advrunner
    
  2. Add the .cargo/config.toml entry.

    runner = "cargo-advrunner"
    
  3. 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"
Commit count: 11

cargo fmt