Registry / crypto / u128
library0.1.0rscratesunverified

U128 helpers for Solana programs, providing utilities for 128-bit unsigned integers.

# Cargo.toml [dependencies] u128 = "0.1.0"
INSTALL
IMPORT
SIG · U128
U
u128
cryptorustv0.1.0
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.

U128
use u128::U128;

Work with 128-bit unsigned integers in Solana programs.

use u128::U128; fn main() { let a = U128::from(42u128); println!("{}", a); }
Debug
Known issues
gotchaDesigned specifically for Solana; may not be suitable for general-purpose use.
fix
Use standard `u128` or other libraries for non-Solana projects.
affects: >=0.1.0
Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
24
Resources
u128 — cargo add u128 · libregistry