crate-cli
Unified Cargo Workspace CLI & VS Code Prettier-Aligned Formatter
Workspace Overview · API Docs · Agent Engineering Rules
Overview
Command-line tool and embeddable library managing Cargo workspace lifecycles (crate bump, crate sync, crate publish, crate fmt) plus pure-Rust VS Code Prettier-aligned multi-format formatting.
This package is part of the ctares unified Rust 2024 workspace and follows the repository's strict module purity, formatting, and dependency-ordered release standards.
Responsibilities & Module Layout
fmt::markdown/fmt::yaml/fmt::json/fmt::toml/fmt::text— Pure-Rust formatters aligned with VS Codeesbenp.prettier-vscode(tabWidth: 2,singleQuote: true,printWidth: 80,proseWrap: "preserve", LF endings) and Taplo TOMLfmt::driver— Public library entry points (execute_unified_fmt,format_workspace_text_files,format_text_by_path) consumed byeuv-cliandhyperlane-clibump/sync/publish— Workspace SemVer bumping, member dependency synchronization, and dependency-orderedcrates.iopublishing
Installation & Quick Start
# Format all supported text files (.md, .yml/.yaml, .json/.jsonc, .toml) + Rust derives + rustfmt
# Synchronize workspace member versions and publish in dependency order
Verification
Run crate-scoped formatting, lint, and test checks from the workspace root:
Documentation & Governance
- Update this
README.mdalongside any public API, CLI flag, or module-boundary change per../AGENTS.md. - Project-level standards and release workflows live in
../.agents/skills/ctares/SKILL.md.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For inquiries, please contact the author at root@devhub.vip.