rustio rustio.net
67

typenum

v1.20.1 Stable

Typenum is a Rust library for type-level numbers evaluated at compile time. It currently supports bits, unsigned integers, and signed integers. It also provides a type-level array of type-level numbers, but its implementation is incomplete.

MIT OR Apache-2.0 Edition 2018 MSRV 1.41.0

Quick Verdict

  • โœ“Stable API (1.x for 11+ years)
  • โœ“Massive adoption (4.5K crates depend on it)
  • โœ“Tiny footprint (105KB, 1 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
972.2M
Dependents
4.5K
Releases
34
Size
105KB

Deep Insights

๐Ÿ“Š
Steady growth

96.4M downloads in the last 30 days (3.2M/day), up 14% from the previous period.

๐Ÿ”—
Widely adopted

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

โš ๏ธ
Single maintainer risk

typenum has only 1 owner despite 4.5K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

โœ…
Stable for 11+ years

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

๐Ÿชถ
Minimal dependencies

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

๐ŸŒŸ
Used by top crates

Notable dependents include generic-array, hybrid-array, nalgebra, libsecp256k1, im. When high-quality crates choose typenum, it's a strong quality signal.

Health Breakdown

Maintenance 12/25

Recency, release consistency, active ratio

Quality 21/25

Yanked ratio, deps, size, maturity, features

Community 12/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 14/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
837K/day avg-100%
01.0M2.0M3.0M4.0M8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v1.19.0
28%
v1.17.0
24%
v1.20.1
20%
v1.18.0
18%
v1.16.0
10%

Release Timeline

10 releasessince 2020
J
F
M
A
M
J
J
A
S
O
N
D
2020
1
2021
3
2022
1
2023
1
2024
2025
2
2026
2
Less
More

Feature Flags

i128strictscale_infoconst-generics

README

Loading README...

Maintainers

Dependencies
1
direct dependencies
Dependents
4.5K
crates depend on typenum