• Home
Name Date Size #Lines LOC

..--

src/06-Sep-2024-168122

.cargo_vcs_info.jsonD06-Sep-202474 65

.gitignoreD06-Sep-202430 43

.travis.ymlD06-Sep-202451 55

Android.bpD06-Sep-2024968 3734

CHANGELOG.mdD06-Sep-2024102 22

Cargo.tomlD06-Sep-2024900 2422

LICENSED06-Sep-20241 KiB2016

METADATAD06-Sep-2024418 2019

MODULE_LICENSE_APACHE2D06-Sep-20240

OWNERSD06-Sep-202469 32

README.mdD06-Sep-2024522 1511

cargo_embargo.jsonD06-Sep-202442 54

README.md

1[![Build Status](https://travis-ci.org/TedDriggs/ident_case.svg?branch=master)](https://travis-ci.org/TedDriggs/ident_case)
2
3Crate for manipulating case of identifiers in Rust programs.
4
5# Features
6* Supports `snake_case`, `lowercase`, `camelCase`,
7  `PascalCase`, `SCREAMING_SNAKE_CASE`, and `kebab-case`
8* Rename variants, and fields
9
10# Examples
11```rust
12assert_eq!("helloWorld", RenameRule::CamelCase.apply_to_field("hello_world"));
13
14assert_eq!("i_love_serde", RenameRule::SnakeCase.apply_to_variant("ILoveSerde"));
15```