commit | 4070a56ea2f3d21b9e72f807a5dfe84c5908bb02 | [log] [tgz] |
---|---|---|
author | James Farrell <jamesfarrell@google.com> | Wed May 08 21:48:54 2024 +0000 |
committer | James Farrell <jamesfarrell@google.com> | Wed May 08 21:48:54 2024 +0000 |
tree | bd4635589d936fbc6b71ff6412b11ae42f5a45c4 | |
parent | 88486def91b7974936f516a34bd1a6e116043788 [diff] |
Update Android.bp by running cargo_embargo Test: ran cargo_embargo Change-Id: I22dfe8987c61324d58ecea0a36f4133705382c2b
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"));