Decision Workspace
cli-pattern-repl vs cli-pattern-contract vs cli-pattern-spi
Side-by-side comparison of Rust crates
46
cli-pattern-repl
experimentalv0.2.0
Generic interactive REPL loop for cli-pattern consumers: read a line via a consumer-supplied LineSource, tokenize, dispatch through CommandCenter, loop. Ships no editor/readline implementation of its own.
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.
51
cli-pattern-spi
experimentalv0.2.0
Remote-contract implementation for cli-pattern: CommandRegistry, an unsynchronized, Vec-backed svc_registry_pattern::Registry<Command>.
Core Metrics
| cli-pattern-repl | cli-pattern-contract | cli-pattern-spi | |
|---|---|---|---|
| Health Score | 46 | 51 | 51 |
| Total Downloads | 61 | 168 | 142 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 19 | 11 |
| Releases | 4 | 4 | 4 |
| Last Updated | 28d ago | 28d ago | 28d ago |
| Age | 1m | 1m | 1m |
Health Breakdown
cli-pattern-repl
Maintenance
14
Quality
13
Community
5
Popularity
2
Documentation
12
cli-pattern-contract
Maintenance
14
Quality
13
Community
9
Popularity
3
Documentation
12
cli-pattern-spi
Maintenance
14
Quality
14
Community
8
Popularity
3
Documentation
12
Technical Details
| cli-pattern-repl | cli-pattern-contract | cli-pattern-spi | |
|---|---|---|---|
| Version | 0.2.0 | 0.3.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 4 | 2 |
| Crate Size | 10KB | 8KB | 5KB |
| 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-contract leads with a health score of 51/100, but none of the options score above 80.