Crates.io | ethnum-macros |
lib.rs | ethnum-macros |
version | 1.1.0 |
source | src |
created_at | 2022-09-18 21:24:30.378638 |
updated_at | 2022-11-20 11:29:29.500403 |
description | 256-bit integer literals |
homepage | https://github.com/nlordell/ethnum-rs |
repository | https://github.com/nlordell/ethnum-rs |
max_upload_size | |
id | 668803 |
size | 21,349 |
ethnum-macros
This crate provides procedural macros for compile-time 256-bit integer literals.
assert_eq!(ethnum::int!("42") == 42);
This is typically not used directly, but instead included with ethnum
:
[dependencies]
ethnum = { version = "*", features = ["macros"] }