Decision Workspace
cargo-sanshain vs sanshain vs specmock-core
Side-by-side comparison of Rust crates
47
cargo-sanshain
experimentalv2.0.0
Cargo subcommand for providing and requiring API specs via Sanshain Service 2.x
47
sanshain
experimentalv2.0.0
Client library for Sanshain Service 2.x: provide versioned API specs and require pinned endpoint snippets
41
specmock-core
experimentalv0.1.0
Core types, schema validation, and deterministic data generation for spec-mock
Core Metrics
| cargo-sanshain | sanshain | specmock-core | |
|---|---|---|---|
| Health Score | 47 | 47 | 41 |
| Total Downloads | 20 | 40 | 270 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1 | 3 |
| Releases | 1 | 1 | 1 |
| Last Updated | 56d ago | 56d ago | 202d ago |
| Age | 1m | 1m | 6m |
Health Breakdown
cargo-sanshain
Maintenance
10
Quality
17
Community
6
Popularity
2
Documentation
12
sanshain
Maintenance
10
Quality
16
Community
7
Popularity
2
Documentation
12
specmock-core
Maintenance
5
Quality
12
Community
8
Popularity
3
Documentation
13
Technical Details
| cargo-sanshain | sanshain | specmock-core | |
|---|---|---|---|
| Version | 2.0.0 | 2.0.0 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 3 | 5 | 12 |
| Crate Size | 11KB | 26KB | 34KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cargo-sanshain leads with a health score of 47/100, but none of the options score above 80.
- •specmock-core has the most downloads (270), suggesting wider adoption.
- •specmock-core is pre-1.0 — API may change.