rustio rustio.net
55

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 (2.4K crates depend on it)
  • โœ“Tiny footprint (5KB, 1 deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
9.0M
Dependents
2.4K
Releases
8
Size
5KB

Deep Insights

๐Ÿ“Š
Stable downloads

630.6K downloads in the last 30 days (21.0K/day). Volume is roughly flat compared to the previous period.

๐Ÿ”—
Widely adopted

2.4K 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 2.4K 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, cubecl-common, cubecl-wgpu. When high-quality crates choose sanitize-filename, it's a strong quality signal.

Health Breakdown

Maintenance 9/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
20K/day avg-47%
010K20K30K40K4/265/146/16/197/77/24

Top Dependents

Version Adoption

v0.6.0
42%
v0.5.0
36%
v0.4.0
12%
v0.3.0
9%
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
2.4K
crates depend on sanitize-filename

Similar Crates