ident_case (1.0.1)
Published 2026-03-26 10:59:23 +00:00 by siennathesane
Installation
[registry]
default = "gitea"
[registries.gitea]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add ident_case@1.0.1About this package
Utility for applying case rules to Rust identifiers.
Crate for manipulating case of identifiers in Rust programs.
Features
- Supports
snake_case,lowercase,camelCase,PascalCase,SCREAMING_SNAKE_CASE, andkebab-case - Rename variants, and fields
Examples
assert_eq!("helloWorld", RenameRule::CamelCase.apply_to_field("hello_world"));
assert_eq!("i_love_serde", RenameRule::SnakeCase.apply_to_variant("ILoveSerde"));
Details
2026-03-26 10:59:23 +00:00
Assets (1)
Versions (1)
View all
Cargo
0
Ted Driggs <ted.driggs@outlook.com>
MIT/Apache-2.0
3.4 KiB
ident_case-1.0.1.crate
3.4 KiB
1.0.1
2026-03-26