Sign in Sign up
cargo

nornir-xtask-support

The ONE shared set of std-only xtask primitives for the nordisk constellation — the build-automation plumbing four repos' `cargo xtask` crates hand-rolled identically. `which` (PATH + ~/.cargo/bin, no external dep), `run` (spawn a Command, non-zero exit becomes Err), `copy_dir`/`fresh_dir`/`clear_worktree`, `short_rev` (short HEAD via the pure-gix `nornir-git` leaf, never the git CLI), `target_dir` (ASKS CARGO via `cargo metadata`, so `--target-dir`, $CARGO_TARGET_DIR and `build.target-dir` all resolve exactly as cargo resolves them), `workspace_root_of`, and the wasm bootstrap trio `ensure_wasm_target`/`ensure_wasm_bindgen`/`locked_wasm_bindgen_version` (a CLI matching Cargo.lock — the fix for the classic blank-canvas mismatch). Boxed Send+Sync error alias, so anyhow / Box<dyn Error> / Result<_,String> callers all adapt.

cargo View on Cargo

Activity

Latest release
3d ago
Total releases
2
Cadence
~2 days
Last 12 months
2

Reach

Downloads
13

Details

License
MIT OR Apache-2.0
First release
Sep 09, 2026
Releases
Version Released
0.1.1 patch
0.1.0 initial