2 stable releases
1.1.0 | Nov 20, 2022 |
---|---|
1.0.0 | Sep 18, 2022 |
#10 in #u256
22KB
556 lines
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"] }
lib.rs
:
Procedural macro for 256-bit integer literals.
See ethnum::int
and ethnum::uint
documentation for more information.