Protobuf Team Bot
fdc7f65849
Make serialization correctly be fallible in the Rust Protobuf API.
...
This doesn't _actually_ make the C++ Kernel path ever fail yet, but now that the API is a Result<SerializedData, SerializeError> it can be fixed as an implementation detail.
PiperOrigin-RevId: 638329136
10 months ago
Marcel Hlopko
69a26b217d
Use the name of the rust_proto_library as the crate name
...
PiperOrigin-RevId: 634414403
10 months ago
Mike Kruskal
8ab39ed6f8
Add editions-specific conformance tests
...
For now, these are limited to tests of text-form for delimited fields that locks down our problematic behavior in editions. Follow up changes will adjust the behavior to behave better under editions.
PiperOrigin-RevId: 622211473
12 months ago
Protobuf Team Bot
7df9d5d970
Use $Msg$::parse() where sensible.
...
PiperOrigin-RevId: 618838455
1 year ago
Protobuf Team Bot
98511549b5
Use the simpler set_x() instead of x_mut().set() in the Rust conformance test.
...
PiperOrigin-RevId: 613272179
1 year ago
Protobuf Team Bot
4cbe13b5c6
Remove the overlay hack from Rust conformance test now that we can use the enum directly.
...
PiperOrigin-RevId: 604226236
1 year ago
Marcel Hlopko
c1d174f7d2
Stop codegenning module for .proto package
...
PiperOrigin-RevId: 599856754
1 year ago
Protobuf Team Bot
569548cd82
Make Rust Conformance skip non-wire output test cases by using an overlay proto.
...
PiperOrigin-RevId: 595152672
1 year ago
Protobuf Team Bot
0b237199c5
Hook up the edition2023 cases to Rust conformance test.
...
PiperOrigin-RevId: 594235463
1 year ago
Protobuf Team Bot
e4057a4014
Enable Rust conformance test on proto3 message.
...
PiperOrigin-RevId: 594080663
1 year ago
Protobuf Team Bot
e4aeff3992
Create initial Rust conformance test.
...
PiperOrigin-RevId: 564725507
2 years ago