fnichol / names

Random name generator for Rust
MIT License
124 stars 19 forks source link

Add more naming strategies/formats enum types #30

Open tomroffe opened 7 months ago

tomroffe commented 7 months ago

HI 👋,

Please excuse the uninvited PR, but I thought to share just in case someone else found this useful. Please let me know your thoughts on including, and ill be happy to adapt. 😄

I needed the format of the generated names to be slightly different. To allow this, I adapted your code to include functionality from Inflector0.11.4 which manifests itself as new Name enum types in addition to Name::Plain and Name::Numbered. Specifically:

Change Log