Crate utils

Source
Expand description

utilities for working with the scsys ecosystem

§scsys-utils

utilities for the scsys ecosystem

Modules§

prelude
project
str
string related utilities

Structs§

CaseTypeIter
An iterator over the variants of CaseType

Enums§

CaseType

Functions§

fnl_remove
Remove the first and last charecters of a string
project_root
Fetch the project root unless specified otherwise with a CARGO_MANIFEST_DIR env variable
to_camelcase
converts a string to camelCase.
to_kebabcase
converts a string to kebab-case.
to_pascalcase
converts a string to PascalCase.
to_screaming_snakecase
converts a string to SCREAMING_SNAKE_CASE.
to_snakecase
converts a string to snake_case.