Decision Workspace
cargo-sqlc vs cargo-expand vs cargo-readme
Side-by-side comparison of Rust crates
49
cargo-sqlc
experimentalv0.0.4
Cargo subcommand for composing SQL templates with sql-composer
70
cargo-expand
stablev1.0.127
Wrapper around rustc -Zunpretty=expanded. Shows the result of macro expansion and #[derive] expansion.
65
cargo-readme
stablev3.4.1
A cargo subcommand to generate README.md content from doc comments
Core Metrics
| cargo-sqlc | cargo-expand | cargo-readme | |
|---|---|---|---|
| Health Score | 49 | 70 | 65 |
| Total Downloads | 79 | 3.7M | 797.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 40 | 243 |
| Releases | 4 | 182 | 19 |
| Last Updated | 7d ago | today | 1d ago |
| Age | 7m | 10y 4m | 10y 10m |
Health Breakdown
cargo-sqlc
Maintenance
18
Quality
13
Community
6
Popularity
2
Documentation
10
cargo-expand
Maintenance
19
Quality
18
Community
10
Popularity
8
Documentation
15
cargo-readme
Maintenance
16
Quality
18
Community
12
Popularity
7
Documentation
12
Technical Details
| cargo-sqlc | cargo-expand | cargo-readme | |
|---|---|---|---|
| Version | 0.0.4 | 1.0.127 | 3.4.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 20 | 9 |
| Crate Size | 7KB | 33KB | 51KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 1.1% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.90 | 1.80 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cargo-expand leads with a health score of 70/100, but none of the options score above 80.
- •cargo-readme is depended on by 243 crates — strongest ecosystem trust.
- •cargo-sqlc is pre-1.0 — API may change.