Install
typenum
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.
1.20.1Latest, 29 May 2026
356MDownloads, last 90 days
0Advisories on the latest
0Advisories, all versions
MIT OR Apache-2.0Licence
591Stars
3.7/10OpenSSF Scorecard
Source · Ask AI Mode · · Markdown
In the news
- Implementing static bounds checking in Rust using `typenum` stackoverflow.com, 28 Aug 2024
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.