rustio rustio.net
75

once_cell

v1.21.4 Stable

Single assignment cells and lazy values.

MIT OR Apache-2.0 Edition 2021 MSRV 1.65

Quick Verdict

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

Security

Checking security advisories...
Downloads
782.7M
Dependents
162.5K
Releases
67
Size
35KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

54.2M downloads in the last 30 days (1.8M/day), up 26% from the previous period.

๐Ÿ›๏ธ
Foundational crate

162.5K crates depend on once_cell โ€” it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

๐Ÿ‘ค
Prolific maintainer

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

โœ…
Stable for 7+ years

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

๐Ÿ“
Compact crate

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

โš ๏ธ
Notable yanked versions

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

๐ŸŒŸ
Used by top crates

Notable dependents include base64, rustix, rustls, tracing-core, ahash. When high-quality crates choose once_cell, it's a strong quality signal.

Health Breakdown

Maintenance 18/25

Recency, release consistency, active ratio

Quality 18/25

Yanked ratio, deps, size, maturity, features

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

Top Dependents

Version Adoption

v1.21.3
41%
v1.19.0
26%
v1.18.0
14%
v1.20.2
13%
v1.17.1
6%

Release Timeline

67 releases8 yankedsince 2018
J
F
M
A
M
J
J
A
S
O
N
D
2018
10
2019
17
2020
7
2021
7
2022
13
2023
4
2024
3
2025
5
2026
1
Less
More|
Yanked

Feature Flags

default =["std"]

std*raceallocunstableparking_lotatomic-polyfillportable-atomiccritical-section

README

Loading README...

Maintainers

Dependencies
5
direct dependencies
Dependents
162.5K
crates depend on once_cell

Similar Crates