rustio rustio.net
58

html-minifier

v5.0.2 Stable

This library can help you generate and minify your HTML code at the same time. It also supports to minify JS and CSS in `<style>`, `<script>` elements, and ignores the minification of `<pre>`, `<code>` and `<textarea>` elements.

MIT Edition 2024 MSRV 1.89
Encoding #html#script#style#minify

Quick Verdict

  • โœ“Stable API (5.x for 8+ years)
  • โœ“Trusted by 239 crates
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
202.9K
Dependents
239
Releases
61
Size
11KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

7.1K downloads in the last 30 days (237/day), up 43% from the previous period.

๐Ÿ”—
Moderate adoption

239 crates depend on html-minifier. Reasonable ecosystem adoption, though not yet a core dependency.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 124 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

โœ…
Stable for 8+ years

The API has been stable (1.x) for over 8 years with 61 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“
Compact crate

At 11KB, html-minifier is lightweight. Small crate size correlates with focused, well-scoped functionality.

โš ๏ธ
Notable yanked versions

15% of releases have been yanked. Check version history before pinning.

๐ŸŒŸ
Used by top crates

Notable dependents include rocket-include-handlebars, cobalt-bin, rocket-include-tera, markdown2html-converter, yggdrasil-shared. When high-quality crates choose html-minifier, it's a strong quality signal.

Health Breakdown

Maintenance 14/25

Recency, release consistency, active ratio

Quality 15/25

Yanked ratio, deps, size, maturity, features

Community 11/20

Reverse deps, ownership, ecosystem

Popularity 6/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
25/day avg-100%
01002003008/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v5.0.0
46%
v3.0.15
23%
v4.0.0
22%
v5.0.2
5%
v3.0.14
5%

Release Timeline

10 releases2 yankedsince 2021
J
F
M
A
M
J
J
A
S
O
N
D
2021
3
2022
4
2023
1
2024
2025
2026
2
Less
More|
Yanked

README

Loading README...

Maintainers

Dependencies
4
direct dependencies
Dependents
239
crates depend on html-minifier

Similar Crates