cargo-governor
CLI and public integration surface for cargo-governor.
cargo-governor is the executable crate in the workspace. It provides:
ownerscommands for crates.io owner managementreleasecommands for semantic versioning, changelog generation, publish, and push- JSON output for CI and agents
- MCP transport and agent context export
The CLI is the main end-user interface. If you need programmatic use
inside Rust code, prefer the governor-application crate.
Installation
Then authenticate with crates.io once:
The token is stored in ~/.cargo/credentials.toml and used automatically
by cargo-governor.
Release Workflow
The default UX is commit-first:
Mutating release commands reject dirty worktrees and manifest/tag version drift by default. That keeps the release path predictable and lets the tool own the release commit, tag, and changelog changes.
Command Groups
Owners
Release
Agent And MCP
JSON Output
Every machine-oriented command returns the same outer envelope:
Owners Configuration
[]
= ["org-bot"]
[]
= ["alice", "github:myorg:core-team"]
[]
= ["bob"]
= ["core"]
= "merge"
License
MIT OR Apache-2.0