#overflow #integer #checked #expressions #arithmetic #proc-macro

macro checked_expr

a procedural macro for making writing checked_* chains more ergonomic

6 releases

0.3.0 May 31, 2021
0.2.3 May 31, 2021
0.1.0 May 30, 2021

#24 in #overflow

MIT/Apache

6KB
78 lines

checked_expr

Rust macro for making writing checked_{add,sub,div,…} chains easier


lib.rs:

Crate providing a procedural macro to make normal operations into overflow checked operations easily

Dependencies

~1.5MB
~37K SLoC