#step #unstable #traits #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

#916 in Procedural macros

24 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.9MB
~19K SLoC