Decision Workspace
const-str vs const-str-proc-macro vs obfstr2-macros
Side-by-side comparison of Rust crates
57
const-str
growingv1.1.0
compile-time string operations
52
const-str-proc-macro
growingv1.1.0
compile-time string operations
58
obfstr2-macros
experimentalv0.1.10
Proc-macros for obfstr2 compile-time obfuscation (internal-only, no runtime; use `obfstr2` directly)
Core Metrics
| const-str | const-str-proc-macro | obfstr2-macros | |
|---|---|---|---|
| Health Score | 57 | 52 | 58 |
| Total Downloads | 33.8M | 4.8M | 181 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1.2K | 33 | 11 |
| Releases | 31 | 26 | 11 |
| Last Updated | 250d ago | 250d ago | 1d ago |
| Age | 6y 1m | 6y 1m | 7d |
Health Breakdown
const-str
Maintenance
9
Quality
14
Community
14
Popularity
8
Documentation
12
const-str-proc-macro
Maintenance
9
Quality
13
Community
10
Popularity
8
Documentation
12
obfstr2-macros
Maintenance
19
Quality
15
Community
9
Popularity
3
Documentation
12
Technical Details
| const-str | const-str-proc-macro | obfstr2-macros | |
|---|---|---|---|
| Version | 1.1.0 | 1.1.0 | 0.1.10 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 4 | 6 | 4 |
| Crate Size | 47KB | 7KB | 24KB |
| Features | 8 | 0 | 2 |
| Yanked % | 32.3% | 19.2% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.77.0 | 1.77.0 | 1.98 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •obfstr2-macros leads with a health score of 58/100, but none of the options score above 80.
- •const-str has the most downloads (33.8M), suggesting wider adoption.
- •const-str is depended on by 1.2K crates — strongest ecosystem trust.
- •obfstr2-macros is pre-1.0 — API may change.