3 releases
0.1.2 | Jan 27, 2020 |
---|---|
0.1.1 | Jan 25, 2020 |
0.1.0 | Jan 15, 2020 |
#9 in #sanitization
Used in 2 crates
15KB
304 lines
sanename-rs
sanename provides sensible naming rules to avoid escaping and conversion issues.
This is a Rust package to validate input and convert between the naming conventions supported by sanename.
sanename
- the default sanename package naming conventionClassCase
- JavaClassName naming conventioncamelCase
- camelCase with lowercase first word naming conventionCONSTANT_CASE
- naming convention for constants and environment variablessnake_case
- aka kernel_case naming conventions
Also provides a method to sanitize input.