浏览代码

Regenerate *.rs files in `src/proto/`

for new protobuf version 2.10.1
Johannes Hofmann 5 年前
父节点
当前提交
7ad09a37ec
共有 3 个文件被更改,包括 7 次插入7 次删除
  1. 1
    1
      Cargo.toml
  2. 3
    3
      src/proto/fileformat.rs
  3. 3
    3
      src/proto/osmformat.rs

+ 1
- 1
Cargo.toml 查看文件

21
 system-libz = ["flate2"]
21
 system-libz = ["flate2"]
22
 
22
 
23
 [dependencies]
23
 [dependencies]
24
-protobuf = "=2.10.0"
24
+protobuf = "=2.10.1"
25
 byteorder = "1.1"
25
 byteorder = "1.1"
26
 flate2 = { version = "1.0", optional = true }
26
 flate2 = { version = "1.0", optional = true }
27
 inflate = "0.4"
27
 inflate = "0.4"

+ 3
- 3
src/proto/fileformat.rs 查看文件

1
-// This file is generated by rust-protobuf 2.10.0. Do not edit
1
+// This file is generated by rust-protobuf 2.10.1. Do not edit
2
 // @generated
2
 // @generated
3
 
3
 
4
-// https://github.com/Manishearth/rust-clippy/issues/702
4
+// https://github.com/rust-lang/rust-clippy/issues/702
5
 #![allow(unknown_lints)]
5
 #![allow(unknown_lints)]
6
 #![allow(clippy::all)]
6
 #![allow(clippy::all)]
7
 
7
 
24
 
24
 
25
 /// Generated files are compatible only with the same version
25
 /// Generated files are compatible only with the same version
26
 /// of protobuf runtime.
26
 /// of protobuf runtime.
27
-const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_10_0;
27
+// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_10_1;
28
 
28
 
29
 #[derive(PartialEq,Clone,Default,Debug)]
29
 #[derive(PartialEq,Clone,Default,Debug)]
30
 pub struct Blob {
30
 pub struct Blob {

+ 3
- 3
src/proto/osmformat.rs 查看文件

1
-// This file is generated by rust-protobuf 2.10.0. Do not edit
1
+// This file is generated by rust-protobuf 2.10.1. Do not edit
2
 // @generated
2
 // @generated
3
 
3
 
4
-// https://github.com/Manishearth/rust-clippy/issues/702
4
+// https://github.com/rust-lang/rust-clippy/issues/702
5
 #![allow(unknown_lints)]
5
 #![allow(unknown_lints)]
6
 #![allow(clippy::all)]
6
 #![allow(clippy::all)]
7
 
7
 
24
 
24
 
25
 /// Generated files are compatible only with the same version
25
 /// Generated files are compatible only with the same version
26
 /// of protobuf runtime.
26
 /// of protobuf runtime.
27
-const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_10_0;
27
+// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_10_1;
28
 
28
 
29
 #[derive(PartialEq,Clone,Default,Debug)]
29
 #[derive(PartialEq,Clone,Default,Debug)]
30
 pub struct HeaderBlock {
30
 pub struct HeaderBlock {