https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-father-404

02/18/2021, 1:30 AM
How would folks feel about me adding Strum to the codebase? It's a collection of macros for working with enums, e.g. macros to convert enum variants to strings. I'm trying to add an FFI function that returns all the
Metric
variants represented as strings, and I'd like to use their
EnumIter
macro. https://github.com/Peternator7/strum
Example of how much code it allows us to delete:
h

hundreds-breakfast-49010

02/18/2021, 2:01 AM
never heard of
Strum
before but this seems like a broadly-useful set of macros, I have no reason to object to it
👍 1
a

average-vr-56795

02/18/2021, 8:41 AM
Sounds good :)
❤️ 1