rustio rustio.net
69

fs4

v1.1.0 Stable

No libc, pure Rust cross-platform file locks. Original fs2, now supports async and replace libc by rustix.

MIT OR Apache-2.0 Edition 2021 MSRV 1.75.0
AsynchronousExternal FFI bindingsFilesystem #file#lock#duplicate#flock#fs2

Quick Verdict

  • โœ“Actively maintained (updated 28d ago)
  • โœ“Stable API (1.x for 4+ years)
  • โœ“Massive adoption (2.4K crates depend on it)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
44.0M
Dependents
2.4K
Releases
32
Size
45KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

4.4M downloads in the last 30 days (147.5K/day), up 21% from the previous period.

๐Ÿ”—
Widely adopted

2.4K crates depend on fs4. Strong ecosystem adoption means battle-tested code and long-term stability.

๐Ÿ‘ค
Prolific maintainer

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

โœ…
Stable for 4+ years

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

๐Ÿ“
Compact crate

At 44KB, fs4 is lightweight. Small crate size correlates with focused, well-scoped functionality.

โš ๏ธ
Notable yanked versions

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

๐ŸŒŸ
Used by top crates

Notable dependents include vsdbsled, tantivy, polars-io, foyer-storage, binary-install. When high-quality crates choose fs4, it's a strong quality signal.

Health Breakdown

Maintenance 17/25

Recency, release consistency, active ratio

Quality 14/25

Yanked ratio, deps, size, maturity, features

Community 15/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
128K/day avg+29%
050K100K150K200K2/263/164/34/215/95/26

Top Dependents

Version Adoption

v0.13.1
81%
v0.12.0
15%
v1.1.0
2%
v0.11.1
2%
v0.13.0
0%

Release Timeline

10 releases1 yankedsince 2024
J
F
M
A
M
J
J
A
S
O
N
D
2024
4
2025
2
2026
4
Less
More|
Yanked

Feature Flags

default =["sync"]

smolsync*tokiofs-err2fs-err3async-stdfs-err2-tokiofs-err3-tokio

README

Loading README...

Maintainers

Dependencies
13
direct dependencies
Dependents
2.4K
crates depend on fs4

Similar Crates