Gankra / cargo-mommy

Mommy's here to support you when running cargo~
https://faultlore.com/cargo-mommy/
Apache License 2.0
726 stars 49 forks source link

mommy now converts a role with spaces to a nice environment variable name~ #52

Closed Lymkwi closed 9 months ago

Lymkwi commented 9 months ago

Previously, role conversion to screaming_role (in order to fetch environment variables) did not account for the fact that you can have spaces in the role (I will let you use your imagination to figure out examples). A better behaviour would be to convert spaces to underscores.

This behaviour should also be documented, but I see no documentation on the "i mean" feature yet so I will let whoever does that change bundle the documentation for this change in with everything else.


This is intended to fix #51 .

Gankra commented 9 months ago

thanks!!