206 Commits (32bcf0bead7c7d281220867463810fddcc9dc084)

Author SHA1 Message Date
Jakob Buchgraber 0d6e9794d1 Migrate Repeated::{push, set} and Map::insert to use the IntoProxied trait. 5 months ago
Protobuf Team Bot f810cc5b66 Enable MessageLite::DebugString to use Message::DebugString where possible. 5 months ago
Protobuf Team Bot c07de7c9df Change to proto2_rust C prefix and proto2::rust C++ namespace 5 months ago
Derek Benson 91dfd8698a add .. operator to proto! for merge_from. This mimics Rust's struct update syntax. 5 months ago
Protobuf Team Bot 419760f873 Split up cpp_api.h/.cc into smaller units. 6 months ago
Derek Benson 237332ef92 Add merge_from to Msg and MsgMut codegen. Cpp Kernel uses new thunk to typed MergeFrom() and Upb Kernel uses new upb_Message_MergeFrom() function 6 months ago
Protobuf Team Bot 6429885156 Emit all string fields on Rust-upb regardless of ctype set. 6 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 6 months ago
Protobuf Team Bot 8b7d866b09 Automated Code Change 6 months ago
Adam Cozzette ccbed29c67 Rust protobuf: make `serialize()` method return `Vec<u8>` 6 months ago
Derek Benson db06125563 split protobuf rust benchmark into separate binaries for upb/cpp 6 months ago
Protobuf Team Bot a6d4827482 Fix build rule dependency for serialization_cpp_test 6 months ago
Protobuf Team Bot 61a2df3129 Allow non-repeated StringPiece accessors to be generated. 6 months ago
Protobuf Team Bot 7dcae81096 Add serialization test and parameterize tests to verify behavior in multiple versions of the protocol buffer language. 6 months ago
Jakob Buchgraber ec61d65a23 Fix debug_test to work with C++ lite 6 months ago
Protobuf Team Bot d0e79cf761 Actually make Serialize fallible on Rust-cpp. 7 months ago
Protobuf Team Bot fdc7f65849 Make serialization correctly be fallible in the Rust Protobuf API. 7 months ago
Derek Benson 911fa984bc Add benchmarks for Protobuf Rust that demonstrate the overhead of the Rust implementations. 7 months ago
Marcel Hlopko 69a26b217d Use the name of the rust_proto_library as the crate name 7 months ago
Marcel Hlopko a8cb5833aa Verify rust_proto_library name 7 months ago
Protobuf Team Bot 2238cdc091 Add impl Clone for Rust proto owned messages. 7 months ago
Protobuf Team Bot d8329b68e4 Add .to_owned(&self)->Msg functions to MsgMut and MsgView 7 months ago
Bastien Jacot-Guillarmod 7b3682fcf2 Pin the rev of googletest to the GitHub main branch 7 months ago
Adrian Sadłocha 733b9c54e9 Implement `is_known` method on the `Enum` trait 7 months ago
Jakob Buchgraber 959903d199 Remove the now unused vtable types. In particular, 8 months ago
Jakob Buchgraber e181855abe Implement flat setters for map and repeated fields. 8 months ago
Jakob Buchgraber d76fdc56bb Implement IntoProxied for messages 8 months ago
Marcel Hlopko 419824d26b Remove obsolete logic related to cc_proto_library 8 months ago
Protobuf Team Bot 55875598f7 Add a collision-avoidance behavior to the Rust Proto codegen. 8 months ago
Derek Benson b4bd664b07 Rust: fix proto! msgtype matcher to look for :: separated idents instead of a ty to avoid syntax errors during parse 8 months ago
Marcel Hlopko 1a7ea70730 Add test coverage for UTF-8 behavior 8 months 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 8 months ago
Alyssa Haroldsen 3f493d9e52 Use the same set of exports as regular users in shared tests 8 months ago
Protobuf Team Bot 2678e10c99 Create a upb rust directory. 8 months ago
Protobuf Team Bot 21d75f861c Remove references to rules_proto 8 months 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. 8 months ago
Marcel Hlopko b4bf6b22e5 Add missing map thunks for nested enums. 8 months ago
Protobuf Team Bot dc5053acc4 Automated Code Change 8 months ago
Protobuf Team Bot 83ec410d30 Internal change 9 months ago
Protobuf Team Bot 7df9d5d970 Use $Msg$::parse() where sensible. 9 months ago
Protobuf Team Bot 847d31afb2 Add a convenience SomeMsg::parse(bytes) -> Result<SomeMsg, ParseErr> 9 months ago
Protobuf Team Bot 0c8f970fc9 Implement Default::default() for owned messages. 9 months ago
Protobuf Team Bot fa0d25a707 Add has_field() accessors for any field that supports presence. 9 months ago
Protobuf Team Bot 8198fe9a5f Change message-nesting namespacing to be some_msg:: instead of SomeMsg_:: 9 months ago
Protobuf Team Bot 06444cb6a1 Clean up some now-unnecessary or_default()s 9 months ago
Marcel Hlopko 71eed03fda Remove unnecessary tags 9 months ago
Protobuf Team Bot f72c45ff75 Change .submsg_mut() to return $Msg$Mut instead of FieldEntry<$Msg$>. 9 months ago
Protobuf Team Bot 958dd59892 Remove the public _mut() accessors from string fields. 9 months 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). 9 months ago
Protobuf Team Bot 7ec56d4243 Remove the oneof_mut accessor and expose the oneof_case accessor on gencode api. 9 months ago