2 stable releases
| 1.1.0 | Nov 20, 2022 |
|---|---|
| 1.0.0 | Sep 18, 2022 |
#27 in #u256
166 downloads per month
22KB
556 lines
Procedural macro for 256-bit integer literals.
See ethnum::int
and ethnum::uint
documentation for more information.
ethnum-macros
This crate provides procedural macros for compile-time 256-bit integer literals.
assert_eq!(ethnum::int!("42") == 42);
Usage
This is typically not used directly, but instead included with ethnum:
[dependencies]
ethnum = { version = "*", features = ["macros"] }