case
case copied to clipboard
A set of letter case helpers for Rust strings
assert_eq!(&"CAWebServices____aKey____Response".to_snake(), "ca_web_services_a_key_response");
`to_snake` shouldn't insert underscore inside an `abbr`, for example. ```rust assert_eq!(&"DOMDebugger".to_snake(), "dom_debugger"); assert_eq!(&"IndexedDB".to_snake(), "indexed_db"); ```
I was hoping to use this crate but I see that there hasn't been any activity for years. I wanted to reach out to ask if the crate is maintained?