commit | aec1de2ded5692bb3e70c3258ac3a71f3f9cdcd8 | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Tue Oct 01 22:05:15 2024 +0000 |
committer | James Farrell <[email protected]> | Tue Oct 01 22:05:15 2024 +0000 |
tree | 4e8d40c50d2768ed7e2f5cac2edd632375722f3d | |
parent | 1a6856108fdff975a01fb819cb74d5494e191e6a [diff] |
Migrate 20 crates to monorepo gdbstub gdbstub_arch glam gpio-cdev grpcio-compiler half hex hound hyper-timeout ident_case indexmap linkme-impl mockall_derive moveit octets openssl-macros percore petgraph plotters protobuf-json-mapping Bug: http://b/339424309 Test: treehugger Change-Id: If2bdad55739bc966cd98a704b731aa0484c6cbbd
Crate for manipulating case of identifiers in Rust programs.
snake_case
, lowercase
, camelCase
, PascalCase
, SCREAMING_SNAKE_CASE
, and kebab-case
assert_eq!("helloWorld", RenameRule::CamelCase.apply_to_field("hello_world")); assert_eq!("i_love_serde", RenameRule::SnakeCase.apply_to_variant("ILoveSerde"));