rustio rustio.net
57

sanitize-filename

v0.6.0 Growing

A simple filename sanitizer, based on Node's sanitize-filename

MIT Edition 2021 MSRV 1.70.0
#sanitizer#filename

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (1.9K crates depend on it)
  • โœ“Tiny footprint (5KB, 1 deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
6.7M
Dependents
1.9K
Releases
8
Size
5KB

Deep Insights

๐Ÿ“Š
Steady growth

469.8K downloads in the last 30 days (15.7K/day), up 13% from the previous period.

๐Ÿ”—
Widely adopted

1.9K crates depend on sanitize-filename. Strong ecosystem adoption means battle-tested code and long-term stability.

โš ๏ธ
Single maintainer risk

sanitize-filename has only 1 owner despite 1.9K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 7+ years old, sanitize-filename hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Minimal dependencies

Only 1 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 5KB, sanitize-filename is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include async_zip, cargo-generate, iai-callgrind-runner, burn-dataset, cubecl-common. When high-quality crates choose sanitize-filename, it's a strong quality signal.

Health Breakdown

Maintenance 11/25

Recency, release consistency, active ratio

Quality 15/25

Yanked ratio, deps, size, maturity, features

Community 11/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
13K/day avg+57%
05K10K15K20K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.5.0
40%
v0.6.0
32%
v0.4.0
15%
v0.3.0
12%
v0.2.1
1%

Release Timeline

8 releasessince 2018
J
F
M
A
M
J
J
A
S
O
N
D
2018
3
2019
2020
1
2021
2022
1
2023
1
2024
1
2025
1
2026
Less
More

README

Loading README...

Maintainers

Dependencies
1
direct dependencies
Dependents
1.9K
crates depend on sanitize-filename

Similar Crates