2 stable releases

1.1.0 Nov 20, 2022
1.0.0 Sep 18, 2022

#10 in #u256

Download history 41/week @ 2023-12-17 41/week @ 2023-12-24 26/week @ 2023-12-31 37/week @ 2024-01-07 27/week @ 2024-01-14 8/week @ 2024-01-21 7/week @ 2024-01-28 3/week @ 2024-02-04 30/week @ 2024-02-18 30/week @ 2024-02-25 15/week @ 2024-03-03 16/week @ 2024-03-10 16/week @ 2024-03-17 12/week @ 2024-03-24 59/week @ 2024-03-31

106 downloads per month

MIT/Apache

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.

No runtime deps