42 Commits (84e832de2d8654c6a06d012baf4c3672aa1eb6a7)

Author SHA1 Message Date
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
Protobuf Team Bot 9d3391f183 Use MapView/MapMut instad of View<Map>/Mut<Map> 3 months ago
Dmitri Gribenko 744c9ddfc5 Rename `#[googletest::test]` to `#[gtest]` 4 months ago
Protobuf Team Bot c7d4697481 Add an protobuf::__internal::SealedInternal trait 4 months ago
Adam Cozzette 7141c30425 Rust: update map setters to take `IntoProxied` 4 months ago
Protobuf Team Bot e6304eb3a2 Add AsView + AsMut as supertraits of Proxied and MutProxied. 4 months ago
Protobuf Team Bot 3c95fc8b76 Create AsView/IntoView/AsMut/IntoMut traits 4 months ago
Protobuf Team Bot a1c53e4da2 Remove +?Sized bounds which simply aren't honored anyway. 4 months ago
Dmitri Gribenko 0a917b95f2 Use `#[googletest::test]` in Protobuf Rust 4 months ago
Protobuf Team Bot cf948e4a81 Restructure the ViewProxy versus MutProxy trait setup. 4 months ago
Jakob Buchgraber 0d6e9794d1 Migrate Repeated::{push, set} and Map::insert to use the IntoProxied trait. 5 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 5 months ago
Jakob Buchgraber 3c9978d4bd Mark owned Repeated & Map types as Send & Sync. 6 months ago
Bastien Jacot-Guillarmod 7b3682fcf2 Pin the rev of googletest to the GitHub main branch 7 months ago
Jakob Buchgraber 959903d199 Remove the now unused vtable types. In particular, 7 months ago
Jakob Buchgraber 1a7ce61061 Split Proxied into Proxied and MutProxied traits. 7 months ago
Protobuf Team Bot 2678e10c99 Create a upb rust directory. 8 months ago
Bastien Jacot-Guillarmod d172859878 Copybara import of the project: 8 months ago
Protobuf Team Bot 063c198f59 add empty case to extend repeated and map tests, fix map methods that consumed self 8 months ago
Protobuf Team Bot 7c4d89e115 Implement Map::copy_from and implement the Extend trait for Maps 9 months ago
Protobuf Team Bot 1dbed2138c Fix Rust Proto cpp-kernel map insertion behavior to better match Rust's std::HashMap and the upb-kernel behavior of "insert replaces the old value" 9 months ago
Jakob Buchgraber ad5e55ab92 #protobuf #rust Mark {Map, Repeated}::new() as public 9 months ago
Protobuf Team Bot 9ff062cd34 Make types for 'inner' (runtime-specific) owned Repeated and Maps 9 months ago
Marcel Hlopko 5842cc9c3d Implement support for messages as map values 10 months ago
Alyssa Haroldsen d445953603 Add map key and value iterators 10 months ago
Alyssa Haroldsen 035d6ec2cb Implement map iteration 10 months ago
Alyssa Haroldsen 3657e05292 Improve field publicity for repeated/maps 10 months ago
Alyssa Haroldsen 4c61b4364a Consolidate PhantomData in maps 10 months ago
Alyssa Haroldsen a48090e329 Make map insert return if the value was newly inserted 10 months ago
Alyssa Haroldsen c1bb1981a4 Remove Deref from MapMut 11 months ago
Jakob Buchgraber 85972e505a #rust #protobuf Implement bytes as map values 11 months ago
Jakob Buchgraber 8d9e3e9a1c #rust #protobuf Refactor maps to make ProxiedInMapValue independent of the runtime 11 months ago
Jakob Buchgraber 991a2f4d54 #refactor Simplify maps through the new ProxiedInMapValue<K> trait 11 months ago
Jakob Buchgraber b539fa9c05 #cleanup Drop MapWithKeyOps::Value type in favor of Proxied::View. 12 months ago
Alyssa Haroldsen 1dd6a7d06e Clean up some trivial lifetime usage 12 months ago
Jakob Buchgraber 976029283f Implement Maps for strings 12 months ago
Hong Shin 94ebf577e3 Squelch warning regarding map_view mut 1 year ago
Jakob Buchgraber ab11a0d1a8 Name the lifetime in the signature of SettableValue.set_on() 1 year ago
Jakob Buchgraber 95073f8e78 Implement Proxied for Maps 1 year ago
Jakob Buchgraber 245a6e692a Remove the protobuf::__runtime::Map type 1 year ago
Jakob Buchgraber 001be3c655 Implement Maps for scalar types for the C++ kernel 1 year ago
Jakob Buchgraber ac3f553073 This CL implements msg.<field>() and msg.<field_mut>() accessors for maps with primitive-typed keys and values for the UPB kernel only. 1 year ago