Decision Workspace
css-escape vs cssesc vs specificity
Side-by-side comparison of Rust crates
49
css-escape
experimentalv0.1.1
Escape a string for use as a CSS identifier — the CSSOM CSS.escape() algorithm. Zero dependencies, no_std.
45
cssesc
experimentalv0.1.0
Escape a string for use as a CSS string or identifier. A faithful port of the cssesc npm package. Zero deps, no_std.
49
specificity
experimentalv0.1.1
Calculate the CSS specificity (a, b, c) of a selector — :is/:not/:has/:where aware. Zero dependencies, no_std.
Core Metrics
| css-escape | cssesc | specificity | |
|---|---|---|---|
| Health Score | 49 | 45 | 49 |
| Total Downloads | 45 | 23 | 36 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 2 | 1 | 2 |
| Last Updated | 109d ago | 108d ago | 109d ago |
| Age | 3m | 3m | 3m |
Health Breakdown
css-escape
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
15
cssesc
Maintenance
7
Quality
15
Community
6
Popularity
2
Documentation
15
specificity
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
15
Technical Details
| css-escape | cssesc | specificity | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.0 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 9KB | 10KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.81 | 1.81 | 1.81 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •css-escape leads with a health score of 49/100, but none of the options score above 80.