浏览代码

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

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

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

1
-// This file is generated by rust-protobuf 2.14.0. Do not edit
1
+// This file is generated by rust-protobuf 2.15.0. Do not edit
2
 // @generated
2
 // @generated
3
 
3
 
4
 // https://github.com/rust-lang/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
 
8
-#![cfg_attr(rustfmt, rustfmt_skip)]
8
+#![allow(unused_attributes)]
9
+#![rustfmt::skip]
9
 
10
 
10
 #![allow(box_pointers)]
11
 #![allow(box_pointers)]
11
 #![allow(dead_code)]
12
 #![allow(dead_code)]
24
 
25
 
25
 /// Generated files are compatible only with the same version
26
 /// Generated files are compatible only with the same version
26
 /// of protobuf runtime.
27
 /// of protobuf runtime.
27
-// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
28
+// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_15_0;
28
 
29
 
29
 #[derive(PartialEq,Clone,Default,Debug)]
30
 #[derive(PartialEq,Clone,Default,Debug)]
30
 pub struct Blob {
31
 pub struct Blob {

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

1
-// This file is generated by rust-protobuf 2.14.0. Do not edit
1
+// This file is generated by rust-protobuf 2.15.0. Do not edit
2
 // @generated
2
 // @generated
3
 
3
 
4
 // https://github.com/rust-lang/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
 
8
-#![cfg_attr(rustfmt, rustfmt_skip)]
8
+#![allow(unused_attributes)]
9
+#![rustfmt::skip]
9
 
10
 
10
 #![allow(box_pointers)]
11
 #![allow(box_pointers)]
11
 #![allow(dead_code)]
12
 #![allow(dead_code)]
24
 
25
 
25
 /// Generated files are compatible only with the same version
26
 /// Generated files are compatible only with the same version
26
 /// of protobuf runtime.
27
 /// of protobuf runtime.
27
-// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_14_0;
28
+// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_15_0;
28
 
29
 
29
 #[derive(PartialEq,Clone,Default,Debug)]
30
 #[derive(PartialEq,Clone,Default,Debug)]
30
 pub struct HeaderBlock {
31
 pub struct HeaderBlock {