rustio rustio.net
67

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 76d ago)
  • โœ“Stable API (1.x for 4+ years)
  • โœ“Massive adoption (3.5K crates depend on it)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
52.9M
Dependents
3.5K
Releases
32
Size
45KB

Deep Insights

๐Ÿ“Š
Steady growth

5.6M downloads in the last 30 days (188.3K/day), up 12% from the previous period.

๐Ÿ”—
Widely adopted

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

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 150 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 15/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
149K/day avg-22%
050K100K150K200K250K4/265/146/16/197/77/24

Top Dependents

Version Adoption

v0.13.1
78%
v0.12.0
12%
v1.1.0
8%
v0.11.1
1%
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
3.5K
crates depend on fs4

Similar Crates