Decision Workspace
cli-pattern-spi vs cli-pattern-contract vs cli-pattern-saf
Side-by-side comparison of Rust crates
51
cli-pattern-spi
experimentalv0.2.0
Remote-contract implementation for cli-pattern: CommandRegistry, an unsynchronized, Vec-backed svc_registry_pattern::Registry<Command>.
51
cli-pattern-contract
experimentalv0.3.0
Reusable CLI command-dispatch contract: register commands by name, dispatch via CommandCenter rather than a compile-time clap enum + match. Zero implementation, zero domain-specific commands.
47
cli-pattern-saf
experimentalv0.3.0
Facade for cli-pattern (SEA L3): async_command_center wires cli-pattern-async-core's DefaultAsyncCommandCenter, sync_command_center wires cli-pattern-sync-core's DefaultSyncCommandCenter, both to cli-pattern-spi's CommandRegistry, each returning only CommandCenter.
Core Metrics
| cli-pattern-spi | cli-pattern-contract | cli-pattern-saf | |
|---|---|---|---|
| Health Score | 51 | 51 | 47 |
| Total Downloads | 142 | 168 | 75 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 11 | 19 | 4 |
| Releases | 4 | 4 | 4 |
| Last Updated | 28d ago | 28d ago | 28d ago |
| Age | 1m | 1m | 1m |
Health Breakdown
cli-pattern-spi
Maintenance
14
Quality
14
Community
8
Popularity
3
Documentation
12
cli-pattern-contract
Maintenance
14
Quality
13
Community
9
Popularity
3
Documentation
12
cli-pattern-saf
Maintenance
14
Quality
12
Community
7
Popularity
2
Documentation
12
Technical Details
| cli-pattern-spi | cli-pattern-contract | cli-pattern-saf | |
|---|---|---|---|
| Version | 0.2.0 | 0.3.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 8 |
| Crate Size | 5KB | 8KB | 11KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.98 | 1.98 | 1.98 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cli-pattern-spi leads with a health score of 51/100, but none of the options score above 80.
- •cli-pattern-contract has the most downloads (168), suggesting wider adoption.