Cargo.toml Publish Gate - crates.io


Names every crates.io publish blocker in a Cargo.toml before the upload burns a version number.
Install
npx @readystack/cargo-publish-gate file
Node 18+. The same 13 rules as the VS Code extension, from a terminal or CI.
Free
- Open any Cargo.toml, run the check, and read every crates.io publish blocker in it with its line number and its fix - nothing hidden, no countdown, no watermark.
--rules lists every rule
With a licence ($29 once)
- Gates every Cargo.toml in the workspace in one pass and writes a dated pre-publish report file you keep and attach to the release pull request.
@readystack/cargo-publish-gate --dir ./templates --report html --out report.html
A contract Rust engineer on the open freelance market starts near $50 an hour, and the hand check of one release manifest against the crates.io rules takes most of that hour, at every release.
Use from an AI agent (MCP)
Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:
{ "mcpServers": { "cargo-publish-gate": { "command": "npx", "args": ["-y", "@readystack/cargo-publish-gate", "--mcp"] } } }
Tools: check_text and check_file (free) · check_dir (licence). The agent gets every finding with the line number.
Use in CI
- name: Cargo.toml Publish Gate - crates.io
run: npx -y @readystack/cargo-publish-gate --dir . --ci
(container: docker run --rm -v "$PWD:/work" getreadystack/cargo-publish-gate --dir /work --ci)
The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set READYSTACK_LICENSE=<key> or run --license <key> once.
Get a licence