1 unstable release
Uses new Rust 2024
new 0.1.1 | Mar 18, 2025 |
---|
#612 in Text processing
19KB
437 lines
Naming Utils
A Rust library for generating naming conventions, pluralizing words, and rest api paths
Features
-
Naming Conventions: Convert a string into various naming formats, including:
CONSTANT_CASE
kebab-case
snake_case
PascalCase
camelCase
Sentence case
Title Case
-
Pluralization: Convert singular nouns to their plural forms, handling both regular and irregular pluralization rules.
-
Rest api paths: Convert string into various rest api paths
- index : '/'
- show : '/{id}/'
- create : '/'
- update : '/{id}/
- delete : '/{id}/
Usage
Add the library to your Cargo.toml
:
[dependencies]
names = "0.1.0"