#step #traits #unstable #macro

nightly macro derive_step

A derive macro for the unstable Step trait

2 releases (1 stable)

1.0.1 Jul 13, 2024
0.0.0-alpha Jul 13, 2024

#598 in Procedural macros

45 downloads per month

Custom license

7KB
105 lines

derive-step

requires nightly!!

a very simple derive macro for the unstable standard library Step trait.

currently, this only works on unit enums like the (equally unstable) AsciiChar.

see the tests directory for usage examples!

Dependencies

~0.4–0.8MB
~19K SLoC