Skip to content

Commit 9e9818e

Browse files
committed
Merge remote-tracking branch 'upstream/master' into patch-stack
2 parents b35660c + 0beff24 commit 9e9818e

File tree

17 files changed

+7
-24
lines changed

17 files changed

+7
-24
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

3-
## [3.5] - Unreleased
3+
## [3.6] - Unreleased
4+
5+
## [3.5.1] - Unreleased
6+
7+
- [Remove deprecated `box_pointers` lint](https://github.com/stepancheg/rust-protobuf/pull/733)
8+
9+
## [3.5.0] - 2024-06-26
410

511
- [Default to packed for repeated primitives in proto3](https://github.com/stepancheg/rust-protobuf/pull/707)
612
- [Put correct flag in comment of generated files](https://github.com/stepancheg/rust-protobuf/pull/655)

protobuf-codegen/src/gen/code_writer.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ impl<'a> CodeWriter<'a> {
8585
self.write_line("#![allow(unused_attributes)]");
8686
self.write_line("#![cfg_attr(rustfmt, rustfmt::skip)]");
8787
self.write_line("");
88-
self.write_line("#![allow(box_pointers)]");
8988
self.write_line("#![allow(dead_code)]");
9089
self.write_line("#![allow(missing_docs)]");
9190
self.write_line("#![allow(non_camel_case_types)]");

protobuf/regenerate.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ die() {
77
exit 1
88
}
99

10-
protoc_ver=$(protoc --version)
11-
case "$protoc_ver" in
12-
"libprotoc 3"*) ;;
13-
*)
14-
die "you need to use protobuf 3 to regenerate .rs from .proto"
15-
;;
16-
esac
17-
1810
cargo build --manifest-path=../protobuf-codegen/Cargo.toml
1911
cargo build --manifest-path=../protoc-bin/Cargo.toml --bin protoc-bin-print-paths
2012

protobuf/src/descriptor.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]

protobuf/src/doctest_pb.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]

protobuf/src/plugin.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]

protobuf/src/rustproto.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]

protobuf/src/well_known_types/any.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]

protobuf/src/well_known_types/api.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]

protobuf/src/well_known_types/duration.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]

0 commit comments

Comments
 (0)