| Crates.io | cargo-shipshape |
| lib.rs | cargo-shipshape |
| version | 0.0.1-pre.1 |
| created_at | 2026-01-05 03:07:37.401494+00 |
| updated_at | 2026-01-05 03:07:37.401494+00 |
| description | Cargo subcommand to sort Rust file items by type and name |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2023014 |
| size | 87,893 |
Keeps a rust project in good condition.
Usage: cargo-shipshape [<paths...>] [-c] [--diff] [-n] [-r] [--no-extract] [--extract-threshold <extract-threshold>]
Sort Rust file items by type and name
Positional Arguments:
paths files or directories to process (defaults to current
directory)
Options:
-c, --check check mode - exit 1 if files need sorting (for CI)
--diff show diff of what would change
-n, --dry-run don't write changes, just report
-r, --recursive process all .rs files in directory recursively
--no-extract disable automatic extraction of large inline modules
--extract-threshold
line threshold for module extraction (default: 100)
--help, help display usage information