Migrate to cargo_embargo. am: daee3bb076

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

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