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