aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-06-21 13:48:35 -0700
committerJoel Galenson <jgalenson@google.com>2021-06-21 13:48:35 -0700
commitfa8a7b3fca9851aa28b20a6298fc77d4c391edf3 (patch)
tree484da23509d8ea19e0b900b5072dba1d93c32670
parentd43fed9e7361202dc7db53d667ee7dd70ef0e75a (diff)
downloadprotobuf-codegen-fa8a7b3fca9851aa28b20a6298fc77d4c391edf3.tar.gz
Upgrade rust/crates/protobuf-codegen to 2.24.1android-s-beta-4android-s-beta-3android-s-beta-4
Test: make Change-Id: I9958c20343b6b5080dfff8b14ca78271d6964e2c
-rw-r--r--.cargo_vcs_info.json2
-rw-r--r--Android.bp2
-rw-r--r--Cargo.lock6
-rw-r--r--Cargo.toml4
-rw-r--r--Cargo.toml.orig4
-rw-r--r--METADATA8
-rw-r--r--src/lib.rs2
7 files changed, 14 insertions, 14 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json
index fd60efa..ce434ce 100644
--- a/.cargo_vcs_info.json
+++ b/.cargo_vcs_info.json
@@ -1,5 +1,5 @@
{
"git": {
- "sha1": "0d3e6a3e72f0276f7c09ca119873f3ba7404a459"
+ "sha1": "6a1143f708c31fa16253a015c334fc6e9b001013"
}
}
diff --git a/Android.bp b/Android.bp
index b72b70e..83450a7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -57,4 +57,4 @@ rust_binary_host {
}
// dependent_library ["feature_list"]
-// protobuf-2.23.0
+// protobuf-2.24.1
diff --git a/Cargo.lock b/Cargo.lock
index df48d45..1b090b5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,13 +4,13 @@ version = 3
[[package]]
name = "protobuf"
-version = "2.23.0"
+version = "2.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45604fc7a88158e7d514d8e22e14ac746081e7a70d7690074dd0029ee37458d6"
+checksum = "db50e77ae196458ccd3dc58a31ea1a90b0698ab1b7928d89f644c25d72070267"
[[package]]
name = "protobuf-codegen"
-version = "2.23.0"
+version = "2.24.1"
dependencies = [
"protobuf",
]
diff --git a/Cargo.toml b/Cargo.toml
index d8aa116..4ed67d4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,7 @@
[package]
name = "protobuf-codegen"
-version = "2.23.0"
+version = "2.24.1"
authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"]
description = "Code generator for rust-protobuf.\n\nIncludes a library and `protoc-gen-rust` binary.\n\nSee `protoc-rust` and `protobuf-codegen-pure` crates.\n"
homepage = "https://github.com/stepancheg/rust-protobuf/"
@@ -34,4 +34,4 @@ name = "protobuf-bin-gen-rust-do-not-use"
path = "src/bin/protobuf-bin-gen-rust-do-not-use.rs"
test = false
[dependencies.protobuf]
-version = "=2.23.0"
+version = "=2.24.1"
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 9341bf6..347fb1c 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,6 +1,6 @@
[package]
name = "protobuf-codegen"
-version = "2.23.0"
+version = "2.24.1"
authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"]
license = "MIT"
homepage = "https://github.com/stepancheg/rust-protobuf/"
@@ -17,7 +17,7 @@ See `protoc-rust` and `protobuf-codegen-pure` crates.
bench = false
[dependencies]
-protobuf = { path = "../protobuf", version = "=2.23.0" }
+protobuf = { path = "../protobuf", version = "=2.24.1" }
[[bin]]
diff --git a/METADATA b/METADATA
index b7b1d94..766f834 100644
--- a/METADATA
+++ b/METADATA
@@ -7,13 +7,13 @@ third_party {
}
url {
type: ARCHIVE
- value: "https://static.crates.io/crates/protobuf-codegen/protobuf-codegen-2.23.0.crate"
+ value: "https://static.crates.io/crates/protobuf-codegen/protobuf-codegen-2.24.1.crate"
}
- version: "2.23.0"
+ version: "2.24.1"
license_type: NOTICE
last_upgrade_date {
year: 2021
- month: 5
- day: 19
+ month: 6
+ day: 21
}
}
diff --git a/src/lib.rs b/src/lib.rs
index 7473103..f1ff0aa 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -192,7 +192,7 @@ fn gen_file(
{
let mut w = CodeWriter::new(&mut v);
- w.write_generated_by("rust-protobuf", "2.23.0");
+ w.write_generated_by("rust-protobuf", "2.24.1");
w.write_line(&format!("//! Generated file from `{}`", file.get_name()));
if customize.inside_protobuf != Some(true) {
w.write_line("");