189 Commits (9d46ee5829ffe5513b858e6f8bea149be2d5b7dc)

Author SHA1 Message Date
Protobuf Team Bot 5106654585 Introduce weirder names for the oneof generated structs to minimize collisions. 1 month ago
Protobuf Team Bot 9e2d1b9ad3 Fix issue with a dcheck failure when dropping an empty owned repeated in rust. 2 months ago
Protobuf Team Bot d2d667a300 Fix proto! macro on repeated fields that need r# prefix. 2 months ago
Protobuf Team Bot 47a0d758d1 Enable the bad names test on upb kernel. 2 months ago
Protobuf Team Bot 1c0b664b90 Slightly extend the Repeated test case. 2 months ago
Protobuf Team Bot b9ef9055ef Derive Ord for enum generated types. 2 months ago
Protobuf Team Bot 2c85f72765 Make generated enums derive(Hash) to allow them to be used in collections like HashSet or as keys in HashMaps. 2 months ago
Protobuf Team Bot 84ed87e1a0 Upgrade to googletest 0.13 crate. 2 months ago
Protobuf Team Bot 45ee584e6c Include the enum constant names in the debug string output. 2 months ago
Protobuf Team Bot b025398f9c Move __runtime into __internal::runtime 3 months ago
Protobuf Team Bot 0325132bf4 Use the latest googletest version number in our generated Cargo.toml for release. 3 months ago
Protobuf Team Bot f78a589481 Improve rustdoc in Rust OSS 4 months ago
Protobuf Team Bot 826ce66117 Enable all //rust/... tests on GHA. 4 months ago
Adam Cozzette 9bdafdbb0c Rust C++: remove per-message functions for repeated fields 4 months ago
Protobuf Team Bot 6f8662c6f9 Remove a few things from Rust OSS tests. 4 months ago
Martin Geisler d2f4410107 Also implement `MessageMatcher<T>` for `T: Copy` 4 months ago
Protobuf Team Bot a88dc0c5e6 Automated Code Change 4 months ago
Protobuf Team Bot 3a40367686 Move Rust unit tests to use reduced forks of TestAllTypes messages. 4 months ago
Protobuf Team Bot c6753b9d06 Make import! of protobuf_gtest_matchers work properly. 4 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. 5 months ago
Adam Cozzette 6f5b35be59 Rust: make generated views implement `std::default::Default` 5 months ago
Protobuf Team Bot 1c35963010 Correct rust include references in Rust-C++ gencode in OSS. 5 months ago
Protobuf Team Bot 4834eb75cb Move some :unittest_(cpp|upb)_rust_proto target to be colocated with the .proto file that defines them 6 months ago
Protobuf Team Bot 5d341470da Initial pass of a proto_eq gtest macro. 6 months ago
Dmitri Gribenko 744c9ddfc5 Rename `#[googletest::test]` to `#[gtest]` 7 months ago
Protobuf Team Bot 0f02d8459b Move `msg.merge_from(othermsg)` onto a trait fn 7 months ago
Adam Cozzette 6ab302d3a3 Rust: cut down on the amount of generated C++ code needed for maps 7 months ago
Adam Cozzette 7141c30425 Rust: update map setters to take `IntoProxied` 7 months ago
Protobuf Team Bot 0fbba32b3e Add Message::Clear() and MessageMut::Clear() (behind the Clear trait) 7 months ago
Protobuf Team Bot 461450834b Introduce a prelude and remove the inherent impls for serialize() 7 months ago
Jakob Buchgraber 8cdc700b5b Implement ctype=CORD for singular string & byte fields 7 months ago
Protobuf Team Bot 3c95fc8b76 Create AsView/IntoView/AsMut/IntoMut traits 7 months ago
Dmitri Gribenko 0a917b95f2 Use `#[googletest::test]` in Protobuf Rust 7 months ago
Protobuf Team Bot cf948e4a81 Restructure the ViewProxy versus MutProxy trait setup. 7 months ago
Derek Benson a6a0680e95 allow __ for inferred submessage types and implement array literal parsing in proto!. 7 months ago
Protobuf Team Bot 7c5dd9ec64 Remove the second 'unset' generic argument from Optional 7 months ago
Derek Benson 9c994245f2 implement repeated_new and repeated_free for enums and messages. Drop the default impl since it is now required 8 months ago
Jakob Buchgraber 0d6e9794d1 Migrate Repeated::{push, set} and Map::insert to use the IntoProxied trait. 8 months ago
Derek Benson 91dfd8698a add .. operator to proto! for merge_from. This mimics Rust's struct update syntax. 8 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 8 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 8 months ago
Adam Cozzette ccbed29c67 Rust protobuf: make `serialize()` method return `Vec<u8>` 8 months ago
Protobuf Team Bot a6d4827482 Fix build rule dependency for serialization_cpp_test 9 months ago
Protobuf Team Bot 61a2df3129 Allow non-repeated StringPiece accessors to be generated. 9 months ago
Protobuf Team Bot 7dcae81096 Add serialization test and parameterize tests to verify behavior in multiple versions of the protocol buffer language. 9 months ago
Protobuf Team Bot fdc7f65849 Make serialization correctly be fallible in the Rust Protobuf API. 9 months ago
Marcel Hlopko 69a26b217d Use the name of the rust_proto_library as the crate name 10 months ago
Protobuf Team Bot 2238cdc091 Add impl Clone for Rust proto owned messages. 10 months ago
Protobuf Team Bot d8329b68e4 Add .to_owned(&self)->Msg functions to MsgMut and MsgView 10 months ago
Bastien Jacot-Guillarmod 7b3682fcf2 Pin the rev of googletest to the GitHub main branch 10 months ago