Gunnar

nordisk/monetize

xtask/Cargo.toml

[package]
name = "xtask"
description = "monetize's repository tasks. Invoked as a tool, never as a dependency of anything."
version = "0.1.3"
edition = "2021"
rust-version = "1.85"
license = "AGPL-3.0-only"
repository = "https://git.gunnar.rs/nordisk/monetize"
publish = false

# A DETACHED workspace (monetize-impl's xtask has the same shape), since 2026-10-23.
# `cargo xtask ci` needs nornir-xtask-support, and through nornir-git it reaches gix,
# reqwest and rustls on aws-lc-rs. As a workspace member that took part in
# `cargo test --workspace`'s feature unification: rustls saw ring AND aws-lc-rs and
# refused to pick a provider (monetize-ui-server tests/pinned_control). Detached,
# there is nothing to unify, and the root lock carries none of it.
[workspace]

[[bin]]
name = "xtask"
path = "src/main.rs"

[lib]
name = "xtask"
path = "src/lib.rs"

# Repository tooling is invoked as a tool, never as a dependency. Its dependencies
# are its own: this workspace is detached (above), so they never unify into a crate
# the server links.
[dependencies]
# `cargo xtask ci`: the shared plan runner, receipt and lock check (std + nornir-git).
# From crates.io: 0.1.3 carries the ci module (published 2026-10-23), 0.1.5 the shared
# spawn guard `spawn_guard` (RA4-7, published in R5G). No sibling patch,
# because a [patch] switched on by .cargo/siblings.toml is written into EVERY lock under
# this directory as [[patch.unused]], and a checkout without it then fails --locked.
nornir-xtask-support = "0.1.5"

[lints.rust]
unsafe_code = "forbid"