Registry / utility / typenum

typenum

JSON →
library1.20.1rscratesunverified

A Rust library for type-level numbers evaluated at compile time, supporting bits, unsigned integers, and signed integers.

# Cargo.toml [dependencies] typenum = "1.20.1"
INSTALL
IMPORT
SIG · TYPENUM
T
typenum
utilityrustv1.20.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

U1
✓ use typenum::U1;

Demonstrates using a type-level unsigned integer (U1).

use typenum::U1; fn main() { let _: U1 = typenum::consts::U1::new(); println!("Type-level number U1 created"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.20.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
typenum — cargo add typenum · libregistry