| Crates.io | cargoe |
| lib.rs | cargoe |
| version | 0.1.15 |
| created_at | 2025-12-10 15:58:57.340298+00 |
| updated_at | 2025-12-15 09:44:44.222708+00 |
| description | Advanced Cargo.toml management CLI tool |
| homepage | https://github.com/cumulus13/cargoe |
| repository | https://github.com/cumulus13/cargoe |
| max_upload_size | |
| id | 1978306 |
| size | 117,740 |
cargoe is a powerful CLI tool for managing Cargo.toml files with features that cargo doesn't provide out of the box.
cargo install cargoe
Or from source:
git clone https://github.com/cumulus13/cargoe
cd cargoe
cargo install --path .
# Add exclude patterns
cargoe exclude add "*.log" ".env" "tmp/"
# Add keywords
cargoe keywords add cli cargo toml
# Add categories
cargoe categories add command-line-utilities development-tools::cargo-plugins
# Set repository URL
cargoe set repository https://github.com/user/repo
# Validate for publishing
cargoe validate --strict
# Show package info
cargoe info
# Initialize for publishing (interactive)
cargoe init
cargoe exclude add "target/" "*.log" # Add patterns
cargoe exclude remove "*.log" # Remove patterns
cargoe exclude list # List all patterns
cargoe exclude clear # Clear all patterns
cargoe include add "src/" "Cargo.toml"
cargoe include list
cargoe keywords add cli cargo toml # Add keywords (max 5)
cargoe keywords remove cli # Remove keyword
cargoe keywords list # List all keywords
cargoe categories add command-line-utilities
cargoe categories list
cargoe categories valid # Show valid crates.io categories
cargoe badges add maintenance status=actively-developed
cargoe badges add github-actions workflow=ci.yml
cargoe badges list
cargoe badges remove maintenance
cargoe set repository https://github.com/user/repo
cargoe set homepage https://example.com
cargoe set documentation https://docs.rs/crate
cargoe set license "MIT OR Apache-2.0"
cargoe get repository
cargoe get version
cargoe validate # Basic validation
cargoe validate --strict # Strict validation for publishing
cargoe info # Show package summary
cargoe fmt # Format Cargo.toml
cargoe fmt --check # Check if formatted
cargoe init # Interactive initialization
cargoe init --yes # Non-interactive initialization
--manifest-path <PATH> # Path to Cargo.toml
--dry-run # Preview changes without applying
--quiet # Suppress output except errors
# Validate current state
cargoe validate --strict
# Initialize missing fields interactively
cargoe init
# Add keywords and categories
cargoe keywords add cli parser rust
cargoe categories add command-line-utilities
# Add exclude patterns
cargoe exclude add "tests/" "benches/" ".github/"
# Final validation
cargoe validate --strict
# Add multiple keywords at once
cargoe keywords add cli parser async tokio rust
# Add multiple exclude patterns
cargoe exclude add "*.log" "*.tmp" ".env" "tmp/" "cache/"
# In your CI pipeline
cargoe validate --strict || exit 1
cargoe fmt --check || exit 1
cargoe respects your Cargo.toml formatting and comments. It uses toml_edit to preserve the original structure.
Contributions are welcome! Please feel free to submit a Pull Request.
Licensed under either of:
at your option.
Hadi Cahyadi
Built with: