#naming #format #source #code

naming_lib

Library for identifying and converting identifiers naming format (case | notation)

5 releases

0.1.4 Oct 30, 2021
0.1.3 Oct 20, 2021
0.1.2 Oct 20, 2021
0.1.1 Oct 20, 2021
0.1.0 Oct 16, 2021

#25 in #naming

29 downloads per month
Used in 2 crates (via naming_clt_lib)

MIT license

20KB
187 lines

Naming Lib

Library for identifying and converting identifiers naming format (case | notation).

It serves three purposes:

  1. Judge if an identifier is written in a certain format.

  2. Automatically identify format.

  3. Convert identifiers between different naming formats.

For more info, check the document.


lib.rs:

Library for identifying and converting identifiers naming format (case | notation).

It serves three purposes:

  1. Judge if an identifier is written in a certain format. (example: is_camel())

  2. Automatically identify format with which_case().

  3. Convert identifiers between different naming formats. (example: to_camel())

Dependencies

~2MB
~53K SLoC