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

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

Change-Id: Ief2e19ac460ba09a8fda28040f18dff99458fde7
Signed-off-by: Automerger Merge Worker <[email protected]>
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.