178 Commits (a9917a30c4ff4f38fc865113c4057bbf3f84b2c2)

Author SHA1 Message Date
Protobuf Team Bot f78a589481 Improve rustdoc in Rust OSS 1 month ago
Protobuf Team Bot 826ce66117 Enable all //rust/... tests on GHA. 1 month ago
Adam Cozzette 9bdafdbb0c Rust C++: remove per-message functions for repeated fields 1 month ago
Protobuf Team Bot 6f8662c6f9 Remove a few things from Rust OSS tests. 1 month ago
Martin Geisler d2f4410107 Also implement `MessageMatcher<T>` for `T: Copy` 1 month ago
Protobuf Team Bot a88dc0c5e6 Automated Code Change 1 month ago
Protobuf Team Bot 3a40367686 Move Rust unit tests to use reduced forks of TestAllTypes messages. 1 month ago
Protobuf Team Bot c6753b9d06 Make import! of protobuf_gtest_matchers work properly. 2 months ago
Derek Benson 9bcd7087ae Add support for instantiating Maps using proto!. Also adds an IntoProxied implementation for Maps that accepts an Iterator of (K, V), just like what we have for Repeated fields. 2 months ago
Adam Cozzette 6f5b35be59 Rust: make generated views implement `std::default::Default` 3 months ago
Protobuf Team Bot 1c35963010 Correct rust include references in Rust-C++ gencode in OSS. 3 months ago
Protobuf Team Bot 4834eb75cb Move some :unittest_(cpp|upb)_rust_proto target to be colocated with the .proto file that defines them 3 months ago
Protobuf Team Bot 5d341470da Initial pass of a proto_eq gtest macro. 3 months ago
Dmitri Gribenko 744c9ddfc5 Rename `#[googletest::test]` to `#[gtest]` 4 months ago
Protobuf Team Bot 0f02d8459b Move `msg.merge_from(othermsg)` onto a trait fn 4 months ago
Adam Cozzette 6ab302d3a3 Rust: cut down on the amount of generated C++ code needed for maps 5 months ago
Adam Cozzette 7141c30425 Rust: update map setters to take `IntoProxied` 5 months ago
Protobuf Team Bot 0fbba32b3e Add Message::Clear() and MessageMut::Clear() (behind the Clear trait) 5 months ago
Protobuf Team Bot 461450834b Introduce a prelude and remove the inherent impls for serialize() 5 months ago
Jakob Buchgraber 8cdc700b5b Implement ctype=CORD for singular string & byte fields 5 months ago
Protobuf Team Bot 3c95fc8b76 Create AsView/IntoView/AsMut/IntoMut traits 5 months ago
Dmitri Gribenko 0a917b95f2 Use `#[googletest::test]` in Protobuf Rust 5 months ago
Protobuf Team Bot cf948e4a81 Restructure the ViewProxy versus MutProxy trait setup. 5 months ago
Derek Benson a6a0680e95 allow __ for inferred submessage types and implement array literal parsing in proto!. 5 months ago
Protobuf Team Bot 7c5dd9ec64 Remove the second 'unset' generic argument from Optional 5 months ago
Derek Benson 9c994245f2 implement repeated_new and repeated_free for enums and messages. Drop the default impl since it is now required 5 months ago
Jakob Buchgraber 0d6e9794d1 Migrate Repeated::{push, set} and Map::insert to use the IntoProxied trait. 5 months ago
Derek Benson 91dfd8698a add .. operator to proto! for merge_from. This mimics Rust's struct update syntax. 5 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
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 6 months ago
Adam Cozzette ccbed29c67 Rust protobuf: make `serialize()` method return `Vec<u8>` 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
Protobuf Team Bot fdc7f65849 Make serialization correctly be fallible in the Rust Protobuf API. 7 months ago
Marcel Hlopko 69a26b217d Use the name of the rust_proto_library as the crate 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
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
Marcel Hlopko b4bf6b22e5 Add missing map thunks for nested enums. 8 months ago
Protobuf Team Bot 847d31afb2 Add a convenience SomeMsg::parse(bytes) -> Result<SomeMsg, ParseErr> 9 months ago