naming_utils

Crates.ionaming_utils
lib.rsnaming_utils
version0.1.1
created_at2025-03-18 19:16:06.791445+00
updated_at2025-03-18 19:16:06.791445+00
descriptionA utility library for generating naming conventions, pluralizing words, and rest api paths in Rust.
homepage
repositoryhttps://github.com/rbrightline/rs
max_upload_size
id1597024
size19,166
Robert Brightline (beemood)

documentation

README

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"
Commit count: 0

cargo fmt