#workflow #running #cargo #file #run #command #toml

yanked cargo-workflows

A library for running workflows

0.2.1 Aug 24, 2024
0.2.0 Jun 1, 2023
0.1.0 Jun 1, 2023

#229 in #workflow

Download history 5/week @ 2024-09-19 2/week @ 2024-09-26 2/week @ 2024-10-10 2/week @ 2024-10-31 2/week @ 2024-11-07

122 downloads per month

MIT license

8KB
161 lines

Cargo workflows

A library for running workflows.

[!WARNING] This is deprecated, use cargo-make instead.

Usage

First, install the crate using cargo install cargo-workflows.

Second, initialize a new workflows.toml file using cargo workflows init.

Third, open the file and you should see:

# "default" is the default workflow
[default]

# Commands to run
[default.commands]
clippy = [ "cargo", "clippy" ]
build = [ "cargo", "build", "--release" ]
run = [ "cargo", "run", "--release" ]

# Environment variables
[default.env]
"Env 1" = "true"
"Env-2" = "42"
"Env_3" = "50"

Dependencies

~1.5–8.5MB
~74K SLoC