Decision Workspace
css-autoprefix vs css-inline vs pdfboss-style
Side-by-side comparison of Rust crates
43
css-autoprefix
growingv0.0.5
Provides a library similar to [autoprefixer](https://github.com/postcss/autoprefixer) to prefix your CSS depending on the versions of web browsers, but in Rust. Currently needs nightly rust as a dependency (phf) needs nightly. Makes use of caniuse.com's database via caniuse-serde (ie offline).
61
css-inline
growingv0.22.0
High-performance library for inlining CSS into HTML 'style' attributes
54
pdfboss-style
experimentalv2.13.1
CSS-subset theme parsing for pdfboss Markdown-to-PDF composition
Core Metrics
| css-autoprefix | css-inline | pdfboss-style | |
|---|---|---|---|
| Health Score | 43 | 61 | 54 |
| Total Downloads | 9.9K | 589.7K | 540 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 91 | 24 |
| Releases | 6 | 54 | 24 |
| Last Updated | 3253d ago | 8d ago | 6d ago |
| Age | 8y 11m | 6y 3m | 1m |
Health Breakdown
css-autoprefix
Maintenance
7
Quality
14
Community
6
Popularity
5
Documentation
11
css-inline
Maintenance
18
Quality
14
Community
10
Popularity
7
Documentation
12
pdfboss-style
Maintenance
14
Quality
17
Community
10
Popularity
3
Documentation
10
Technical Details
| css-autoprefix | css-inline | pdfboss-style | |
|---|---|---|---|
| Version | 0.0.5 | 0.22.0 | 2.13.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 4 | 17 | 2 |
| Crate Size | 15KB | 60KB | 28KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 1.8% | 0.0% |
| Edition | — | 2021 | 2021 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •css-inline leads with a health score of 61/100, but none of the options score above 80.
- •⚠ css-autoprefix has not been updated in over a year.
- •css-autoprefix, css-inline are pre-1.0 — API may change.