Migrate to cargo_embargo. am: daee3bb076 am: 3fdbacdf26 am: 50fc17b2a1

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

Change-Id: I2d2740008a6f9a9c7a93f760dfb888fc5265b3d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: e288fda2df1cf42dc5d662ffe308fa2e1e64f87b
  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. cargo_embargo.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.