Crates.io | casespaetzle |
lib.rs | casespaetzle |
version | 0.1.4 |
source | src |
created_at | 2024-10-08 16:20:36.025642 |
updated_at | 2024-10-09 07:09:28.38698 |
description | This package introduces common identifier case traits and a macro for case trait generation. |
homepage | https://github.com/Anatoly03/casespaetzle/tree/master/casespaetzle |
repository | https://github.com/Anatoly03/casespaetzle/tree/master/casespaetzle |
max_upload_size | |
id | 1401379 |
size | 13,517 |
This crate implements a utility trait that converts any string to a case. The case names are majorly named after the answers to the StackOverflow question What are the different kinds of cases?. An identifier is a string consisting of (mostly) alphanumeric characters and a few separation markers, like the dash and the underscore, with a word
being defined as a lexicographical atomic component of the identifier.
For a list of supported cases, see the main README.
This package re-exports the macro add_case
, for its' documentation, refer to the crate on github.