Crates.io | sanename |
lib.rs | sanename |
version | 0.1.2 |
source | src |
created_at | 2020-01-15 21:55:20.510463 |
updated_at | 2020-01-27 08:14:38.388075 |
description | sanename.org compatible validation and sanitization library |
homepage | http://sanename.org |
repository | http://gitlab.com/teknopaul/sanename-rs |
max_upload_size | |
id | 198868 |
size | 22,527 |
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 conventionsAlso provides a method to sanitize input.