rustio rustio.net
61

lock_api

v0.4.14 Growing

Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.

MIT OR Apache-2.0 Edition 2021 MSRV 1.71.0
ConcurrencyNo standard library #lock#mutex#no_std#rwlock

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (1.2K crates depend on it)
  • โœ“Tiny footprint (29KB, 3 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
624.0M
Dependents
1.2K
Releases
27
Size
29KB

Deep Insights

๐Ÿ“Š
Steady growth

45.2M downloads in the last 30 days (1.5M/day), up 17% from the previous period.

๐Ÿ”—
Widely adopted

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

๐Ÿ”ฌ
Pre-1.0 for over a year

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

๐Ÿชถ
Minimal dependencies

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

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include parking_lot, spin, dashmap, pyo3, futures-intrusive. When high-quality crates choose lock_api, it's a strong quality signal.

Health Breakdown

Maintenance 11/25

Recency, release consistency, active ratio

Quality 14/25

Yanked ratio, deps, size, maturity, features

Community 16/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
1.2M/day avg+55%
0500K1.0M1.5M2.0M12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.4.12
36%
v0.4.14
20%
v0.4.13
18%
v0.4.11
15%
v0.4.9
12%

Release Timeline

27 releases2 yankedsince 2018
J
F
M
A
M
J
J
A
S
O
N
D
2018
6
2019
4
2020
5
2021
3
2022
4
2023
2
2024
1
2025
2
2026
Less
More|
Yanked

Feature Flags

default =["atomic_usize"]

nightlyarc_lockatomic_usize*

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
1.2K
crates depend on lock_api

Similar Crates