diff options
author | Chih-Hung Hsieh <chh@google.com> | 2020-06-10 20:18:39 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2020-06-22 23:22:30 -0700 |
commit | 92ff6050970bae060821744b82e30198268dd981 (patch) | |
tree | b6b600f5efa56977e52c9439d9efcca10395e2ea /Cargo.toml.orig | |
parent | 576a7f7dce357413fefb159b8fcb1540c1462162 (diff) | |
download | protobuf-codegen-92ff6050970bae060821744b82e30198268dd981.tar.gz |
Import protobuf-codegen-2.14.0
* Add OWNERS, Android.bp, and README.android.
* Hard code version number in src/lib.rs for now.
It could be in a smarter update_package.sh to get the
new version number from Cargo.tom. But until then,
the difference in lib.rs will be caught and fixed manually.
* Rename protoc_gen_rust to protoc-gen-rust for aprotoc plugin.
Bug: 143953733
Test: make
Change-Id: I9b3c3b9f2e7ad0eb203c26534f2b6ba5fac46eef
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r-- | Cargo.toml.orig | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig new file mode 100644 index 0000000..0511478 --- /dev/null +++ b/Cargo.toml.orig @@ -0,0 +1,35 @@ +[package] +name = "protobuf-codegen" +version = "2.14.0" +authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"] +license = "MIT" +homepage = "https://github.com/stepancheg/rust-protobuf/" +repository = "https://github.com/stepancheg/rust-protobuf/" +description = """ +Code generator for rust-protobuf. + +Includes a library and `protoc-gen-rust` binary. + +See `protoc-rust` and `protobuf-codegen-pure` crates. +""" + +[lib] +bench = false + +[dependencies] +protobuf = { path = "../protobuf", version = "=2.14.0" } + +[[bin]] + +name = "protoc-gen-rust" +path = "src/bin/protoc-gen-rust.rs" +test = false + +[[bin]] + +name = "protobuf-bin-gen-rust-do-not-use" +path = "src/bin/protobuf-bin-gen-rust-do-not-use.rs" +test = false + +[package.metadata.docs.rs] +all-features = true |