[][src]Crate sanename

Enums

Convention

Functions

convert_from

Convert a string with another naming convention to sanename-package convention.

convert_to

Convert a package-name format string to another naming convention.

sanitize

Takes a String in any format and returns sanename-package format discarding stuff sanename does not approve of. Common delims are converted to at most one sequential -

validate
validate_camel_case
validate_class_name
validate_constant
validate_len

sanenames should be 3 - 32 chars, validation of this is optional.

validate_sanename
validate_snake_case