| Crates.io | ident_case |
| lib.rs | ident_case |
| version | 1.0.1 |
| created_at | 2017-05-10 19:51:31.395527+00 |
| updated_at | 2019-03-18 20:07:20.426691+00 |
| description | Utility for applying case rules to Rust identifiers. |
| homepage | |
| repository | https://github.com/TedDriggs/ident_case |
| max_upload_size | |
| id | 14055 |
| size | 9,263 |
Crate for manipulating case of identifiers in Rust programs.
snake_case, lowercase, camelCase,
PascalCase, SCREAMING_SNAKE_CASE, and kebab-caseassert_eq!("helloWorld", RenameRule::CamelCase.apply_to_field("hello_world"));
assert_eq!("i_love_serde", RenameRule::SnakeCase.apply_to_variant("ILoveSerde"));