Import protobuf-parse 3.2.0 am: 5012cb7225 am: 0048aefa57 am: bfe22844c0 am: 0360f520c2 am: e66317fa29

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/protobuf-parse/+/2478018

Change-Id: If3d0ecbfa16dcbcaa97857b13008164c168f72d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: bd746833444019f3539c94bdf16ae376ae530c59
  1. examples/
  2. src/
  3. tests/
  4. .cargo_vcs_info.json
  5. Android.bp
  6. Cargo.lock
  7. Cargo.toml
  8. Cargo.toml.orig
  9. cargo2android.json
  10. LICENSE
  11. LICENSE.txt
  12. METADATA
  13. MODULE_LICENSE_MIT
  14. OWNERS
  15. README.md
README.md

Parse .proto files

Parse .proto file definitions, not the protobuf text format serialization.

Files can be parsed using pure Rust parser (mod pure) or using the protoc command (mod protoc).

This crate is not meant to be used directly, but rather through the protobuf-codegen crate. If you think this crate might be useful to you, please consider creating an issue, until that this crate is considered to have no stable API.