Crates.io | unprim |
lib.rs | unprim |
version | 0.1.0 |
source | src |
created_at | 2022-08-31 04:51:46.359723 |
updated_at | 2022-08-31 04:51:46.359723 |
description | 8-bit to 256-bit types |
homepage | |
repository | https://github.com/rebrave04/un-prim |
max_upload_size | |
id | 655492 |
size | 76,069 |
Unusual primitive types for any rust project.
This crate was unstable and maybe lot's of bugs and I suggest not to use this.
[dependencies]
unprim = "0.1"
use unprim::*;
let x: U256 = 100u128.into();
let y: U256 = 2u128.into();
let z = x * y;
assert_eq!(200u64, z.into());