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
2 files changed
tree: 4e8d40c50d2768ed7e2f5cac2edd632375722f3d
  1. src/
  2. .cargo_vcs_info.json
  3. .gitignore
  4. .travis.yml
  5. Android.bp
  6. Cargo.toml
  7. CHANGELOG.md
  8. LICENSE
  9. METADATA
  10. MODULE_LICENSE_APACHE2
  11. OWNERS
  12. README.md
README.md

Build Status

Crate for manipulating case of identifiers in Rust programs.

Features

  • Supports snake_case, lowercase, camelCase, PascalCase, SCREAMING_SNAKE_CASE, and kebab-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"));