Decision Workspace
cfg-stub vs cfg-tt vs make-noop
Side-by-side comparison of Rust crates
43
cfg-stub
experimentalv0.1.0
Proc macros that replace function and impl method bodies with `unimplemented!()` for cfg-gated stub implementations
53
cfg-tt
experimentalv0.4.0
A procedural macro that allows using #[cfg] anywhere and at token granularity.
52
make-noop
experimentalv0.1.1
Attribute macros that replace function, method, and impl-block bodies with no-ops, with customizable return values.
Core Metrics
| cfg-stub | cfg-tt | make-noop | |
|---|---|---|---|
| Health Score | 43 | 53 | 52 |
| Total Downloads | 518 | 27.3K | 111 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 11 | 0 |
| Releases | 1 | 5 | 2 |
| Last Updated | 127d ago | 75d ago | 25d ago |
| Age | 4m | 9m | 3m |
Health Breakdown
cfg-stub
Maintenance
7
Quality
14
Community
9
Popularity
3
Documentation
10
cfg-tt
Maintenance
14
Quality
13
Community
8
Popularity
5
Documentation
13
make-noop
Maintenance
15
Quality
14
Community
6
Popularity
2
Documentation
15
Technical Details
| cfg-stub | cfg-tt | make-noop | |
|---|---|---|---|
| Version | 0.1.0 | 0.4.0 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 3 |
| Crate Size | 4KB | 11KB | 12KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | 1.87 |
| Owners | 3 | 1 | 1 |
Links
Quick Verdict
- •cfg-tt leads with a health score of 53/100, but none of the options score above 80.