commit | 1a6856108fdff975a01fb819cb74d5494e191e6a | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Tue Sep 24 19:31:48 2024 +0000 |
committer | James Farrell <[email protected]> | Tue Sep 24 19:31:48 2024 +0000 |
tree | d6f159da6848fc3984ce595f4e67b28854d5aa20 | |
parent | 5774d5799f82680e2f9bf7b77475e52491a2811d [diff] |
Update Android.bp by running cargo_embargo Test: ran cargo_embargo Change-Id: I5f1a9ed4030bfbca20814d2cd7db9c7bf9c911ee
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"));