184 Commits (9de810acdc6e7e2bcac03d207632c0b9443596ea)

Author SHA1 Message Date
Bastien Jacot-Guillarmod 7b3682fcf2 Pin the rev of googletest to the GitHub main branch 12 months ago
Adrian Sadłocha 733b9c54e9 Implement `is_known` method on the `Enum` trait 12 months ago
Jakob Buchgraber 959903d199 Remove the now unused vtable types. In particular, 1 year ago
Jakob Buchgraber e181855abe Implement flat setters for map and repeated fields. 1 year ago
Jakob Buchgraber d76fdc56bb Implement IntoProxied for messages 1 year ago
Marcel Hlopko 419824d26b Remove obsolete logic related to cc_proto_library 1 year ago
Protobuf Team Bot 55875598f7 Add a collision-avoidance behavior to the Rust Proto codegen. 1 year ago
Derek Benson b4bd664b07 Rust: fix proto! msgtype matcher to look for :: separated idents instead of a ty to avoid syntax errors during parse 1 year ago
Marcel Hlopko 1a7ea70730 Add test coverage for UTF-8 behavior 1 year ago
Derek Benson e485d4f03d Adds an initial version of the proto! macro to simplify construction of proto messages in Rust. Currently supports all field types except Repeated and Map 1 year ago
Alyssa Haroldsen 3f493d9e52 Use the same set of exports as regular users in shared tests 1 year ago
Protobuf Team Bot 2678e10c99 Create a upb rust directory. 1 year ago
Protobuf Team Bot 21d75f861c Remove references to rules_proto 1 year ago
Protobuf Team Bot f421dc42b5 Change the Rust > C++ interop fns to be consuming-self, add a 'leak' to the name and a ManuallyDrop(self) on the owned message case. 1 year ago
Marcel Hlopko b4bf6b22e5 Add missing map thunks for nested enums. 1 year ago
Protobuf Team Bot dc5053acc4 Automated Code Change 1 year ago
Protobuf Team Bot 83ec410d30 Internal change 1 year ago
Protobuf Team Bot 7df9d5d970 Use $Msg$::parse() where sensible. 1 year ago
Protobuf Team Bot 847d31afb2 Add a convenience SomeMsg::parse(bytes) -> Result<SomeMsg, ParseErr> 1 year ago
Protobuf Team Bot 0c8f970fc9 Implement Default::default() for owned messages. 1 year ago
Protobuf Team Bot fa0d25a707 Add has_field() accessors for any field that supports presence. 1 year ago
Protobuf Team Bot 8198fe9a5f Change message-nesting namespacing to be some_msg:: instead of SomeMsg_:: 1 year ago
Protobuf Team Bot 06444cb6a1 Clean up some now-unnecessary or_default()s 1 year ago
Marcel Hlopko 71eed03fda Remove unnecessary tags 1 year ago
Protobuf Team Bot f72c45ff75 Change .submsg_mut() to return $Msg$Mut instead of FieldEntry<$Msg$>. 1 year ago
Protobuf Team Bot 958dd59892 Remove the public _mut() accessors from string fields. 1 year ago
Protobuf Team Bot 7e47fc3e39 Remove the _mut() accessors from primitive fields (both explicit presence where they were FieldEntry and implicit presence where they were PrimitiveMut). 1 year ago
Protobuf Team Bot 7ec56d4243 Remove the oneof_mut accessor and expose the oneof_case accessor on gencode api. 1 year ago
Protobuf Team Bot bb1c0abcbf Make the oneof view accessors use consuming-self and the corresponding longer lifetime, avoiding unnecessary shortening of lifetimes in some cases. 1 year ago
Jakob Buchgraber 03687b798b #rust #protobuf Implement custom Debug for C++ kernel 1 year ago
Jakob Buchgraber 11bbab1664 #protobuf #rust Build gencode files when building a rust_proto_library target 1 year ago
Protobuf Team Bot fd4625e906 Remove setter_opt and add clearer for with-presence scalar fields, and add flat setter for msg fields. 1 year ago
Alyssa Haroldsen fe5092a392 Support enums as map values 1 year ago
Protobuf Team Bot 5a0135e65a Bring back 'flat' setters for singular scalars and strings. 1 year ago
Protobuf Team Bot 033ff1710e Introduce a RustFieldType enum which captures the primitive types that a rust field can be. 1 year ago
Protobuf Team Bot 9a56a497b2 Fix unused 'use' warning in simple_nested_test.rs 1 year ago
Protobuf Team Bot 42c215718e Add serialize(&self) on MsgView and MsgMut (in addition to the preexisting owned Message) 1 year ago
Protobuf Team Bot 8d9fb756be Internal 1 year ago
Protobuf Team Bot 3dc3dab85c Add zero-length deserialize unit test. 1 year ago
Marcel Hlopko 73769a030d Fix msan issue in Map<bool,*> 1 year ago
Marcel Hlopko 5842cc9c3d Implement support for messages as map values 1 year ago
Alyssa Haroldsen a522a47120 Validate that map keys are copied 1 year ago
Alyssa Haroldsen 398508287e Correct ExactSizeIterator impl for RepeatedIter 1 year ago
Alyssa Haroldsen 3ccccdb855 Copy repeated string/bytes in upb when pushing/setting/copying 1 year ago
Alyssa Haroldsen d445953603 Add map key and value iterators 1 year ago
Alyssa Haroldsen 035d6ec2cb Implement map iteration 1 year ago
Protobuf Team Bot bdd833f8fc Fix issue where nested messages in non-primary .proto files couldn't be used. 1 year ago
Alyssa Haroldsen a48090e329 Make map insert return if the value was newly inserted 1 year ago
Hong Shin dc7001e517 Fix message vtable::clear 1 year ago
Hong Shin f9ec860691 Add more test coverage exercising msg_mut and msg_opt 1 year ago