Cargo Mate
A Rust development companion that enhances cargo with intelligent workflows, state management, performance optimization, and comprehensive project monitoring. W.I.P. UNDER DEVELOPMENT!
Table of Contents
- Quick Start
- Command Reference
- Installation
- Version Commands
- View Commands
- Log Commands
- Journey Commands
- Anchor Commands
- Tide Commands
- Scrub Commands
- SCAT Commands
- Strip Commands
- Sweep Commands
- Map Commands
- Mutiny Commands
- Config Commands
- Optimize Commands
- Checklist Commands
- WTF Commands
- Tool Commands
- DDR Commands
- General Commands
- Project Configuration (.cg)
- Global Configuration (~/.shipwreck/config.toml)
- Examples
- License
π Installation
Option 1: Quick & Dirty Installer (Recommended - Works Everywhere... in Theory)
|
β No compilation needed, auto-detects platform, handles all dependencies
Option 2: Control & Freaky (Direct Download - Choose Your Platform and Speed)
# Linux x86_64 (glibc)
# Linux x86_64 (musl)
# Linux ARM64 (glibc)
# Linux ARM64 (musl)
# macOS Intel (x86_64)
# macOS Apple Silicon (ARM64)
# Windows x86_64
# Run install.ps1 in PowerShell as Administrator
# Windows i686
# Run install.ps1 in PowerShell as Administrator
# Universal ALL PLATFORMS AVAILABLE (most of the time contains all)
### Option 3: Natural & Confused (Requires Build Tools)
β οΈ Note: 20+ minute build time. Requires C compiler/linker. If you get "linker cc not found", use Option 1 or 2 instead.
Troubleshooting
- "linker cc not found": Install build-essential first, or use the curl/wget installers
- "GLIBC_2.32 not found": Use the universal installer (Option 1) which auto-selects compatible version
- Behind firewall: Use Option 2 to download manually
Version Commands
View Commands
Captain's Log Commands (Natural language build notes with automatic tagging and search.)
Journey Commands
Anchor Commands
Tide Commands
Scrub Commands
cm scrub run --directory -d # Directory to start searching from (default: current) cm scrub run --dry-run -n # Show what would be cleaned without actually cleaning cm scrub run --verbose -v # Enable verbose output cm scrub run --resume-from -r # Resume from projects containing this string cm scrub run --min-depth # Minimum directory depth to search cm scrub run --max-depth # Maximum directory depth to search cm scrub run --jobs -j # Number of parallel workers (default: 4) cm scrub run --min-size # Only show projects larger than this size (MB) cm scrub run --sort-by-size -s # Sort results by size cm scrub run --export-json # Export results to JSON file cm scrub run --interactive -i # Ask before cleaning each project cm scrub run --exclude -e # Exclude directories matching patterns (multiple) cm scrub run --stats-only # Only show statistics without cleaning
SCAT Commands (Source Code Obfuscation Tool) STILL UNDER DEVELOPMENT
# Examples:
Strip Commands (Code Cleaning & Optimization)
# Examples:
Sweep Commands (AI Debug Statement Cleanup)
# Sweep Options:
# Examples:
Map Commands
Mutiny Commands
Config Commands
Optimize Commands
Checklist Commands
WTF Commands (CargoMate AI - Pro only)
# Ollama Integration
Tool Commands
# Available Tools:
# Compare benchmark results between commits
# Audit dependencies for security and license issues
|| # Generate test boilerplate from Rust function signatures
DDR Commands (Docker Dock Rust - Parallel Build Orchestration) π§ UNDER DEVELOPMENT
# DDR Build Options:
# Examples:
General Commands
Project Configuration (.cg)
[]
= "my-project"
= "build"
= true
[]
= true
= "patch"
[]
= "build --release"
= "test --all"
Global Configuration (~/.shipwreck/config.toml)
[]
= true
= false
[]
= 4
= true
Some Examples
Development Workflow
# Save current state before major changes
# Record your development workflow
# Ctrl+D to stop recording
# Replay the workflow anytime
Performance Optimization
# Check optimization recommendations
# Apply balanced optimizations
# Monitor build performance
Version Management
# Initialize with semantic versioning
# Versions auto-increment on builds
# Manual version bump for releases
π’ Cargo Mate
- π’ Your project is a ship
- β Anchors save your position
- π Tide charts track the flow
- πΊοΈ Maps show the territory
- π΄ββ οΈ Mutiny overrides the captain
- π Captain's log records the journey
- π’ Auto-versioning keeps your ship on course
- π Build optimization gives you the wind in your sails
π License
This project is licensed
For more information, visit: cargo.do/license
Built with β€οΈ for the Rust community. No more shipwrecks in the sea of cargo errors!