79 Commits (bc6990cfb4c353a283c9247f213a22bc996011d9)

Author SHA1 Message Date
Adam Cozzette 1142838bbc Rust: get all types onto a single blanket ProxiedInMapValue implementation for upb 3 months ago
Protobuf Team Bot b35d4bad3c Change `upb` crate source to not use std or alloc 3 months ago
Adam Cozzette c3df35950b Rust: create blanket implementation of `ProxiedInMapValue` for upb-backed messages 3 months ago
Protobuf Team Bot 9d3391f183 Use MapView/MapMut instad of View<Map>/Mut<Map> 4 months ago
Protobuf Team Bot e26ef8683e Cleanup pass on where we use Private and doc(hidden) 4 months ago
Protobuf Team Bot c7d4697481 Add an protobuf::__internal::SealedInternal trait 4 months ago
Derek Benson 1e1bf0d1fc Move the declaration of the upb map begin constant into rust 5 months ago
Derek Benson 6f58085577 Adds an initial Cargo.toml for the protobuf crate. 5 months ago
Protobuf Team Bot a1c53e4da2 Remove +?Sized bounds which simply aren't honored anyway. 5 months ago
Protobuf Team Bot 9d2dafe1e5 Add #[doc(hidden)] and a _private arg on SerializedData 5 months ago
Protobuf Team Bot cf948e4a81 Restructure the ViewProxy versus MutProxy trait setup. 5 months ago
Adam Cozzette f712ca5d1c Rust protobuf: fix memory leaks 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 08da921314 Remove the defensive copy on singular string setter 5 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 6 months ago
Jakob Buchgraber 68da9337b4 Remove 'assert_c_type_sizes' test 6 months ago
Derek Benson 904266db57 inline repeated field methods 7 months ago
Derek Benson f2d8c2bdd8 Add a reserve method on ProxiedInRepeated 7 months ago
Jakob Buchgraber b6e0a48b02 Implement `IntoProxied` for repeated field setters 7 months ago
Jakob Buchgraber 959903d199 Remove the now unused vtable types. In particular, 8 months ago
Jakob Buchgraber 1980e025eb Remove PrimitiveMut and related vtable types 8 months ago
Protobuf Team Bot 1d0028ddda Fix unused warnings in Rust Proto 8 months ago
Protobuf Team Bot 734729afc2 Create the concept of 'owned data' in upb/rust as a generalization of the upb.rs SerializedData (which is a arena + data for arbitrary types, both thin and wide ref types), use that for the wire parse/serialize path. 8 months ago
Jakob Buchgraber 849b975e5f Temporarily use AsRef<{ProtoStr, [u8]}> for string/bytes accessors 8 months ago
Protobuf Team Bot 5c7a9fd997 Move the Rust `Arena` type which wraps a upb_Arena into the upb directory. 8 months ago
Protobuf Team Bot 2678e10c99 Create a upb rust directory. 8 months ago
Protobuf Team Bot b8bb56df4c Change Rust-upb to use upb_Encode and upb_Decode directly, instead of going through the upb C gencode. 8 months ago
Protobuf Team Bot 9ff062cd34 Make types for 'inner' (runtime-specific) owned Repeated and Maps 9 months ago
Alyssa Haroldsen 4395d97f66 Use a 64K static for zeroed scratch space in upb 10 months ago
Alyssa Haroldsen c6af7f76b7 Replace UpbTypeConversions::empty_message_value with MaybeUninit/null 10 months ago
Protobuf Team Bot 9473beb76c Up the upb scratch space from 64000 bytes to 65536 bytes since 64 KiB is the maximum supported message size in upb. 10 months ago
Marcel Hlopko 73769a030d Fix msan issue in Map<bool,*> 10 months ago
Marcel Hlopko 5842cc9c3d Implement support for messages as map values 10 months ago
Alyssa Haroldsen 3ccccdb855 Copy repeated string/bytes in upb when pushing/setting/copying 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 a48090e329 Make map insert return if the value was newly inserted 10 months ago
Hong Shin e320c85283 Move MessageVTable to $pbr$ from $pbi$ 11 months ago
Marcel Hlopko 39e8ca7faf Add support for repeated strings/bytes 11 months ago
Hong Shin 808487918c Initialize scaffolding for ProxiedWithPresence for Messages 11 months ago
Kevin King df376c807c Implement ProxiedInRepeated for Messages 11 months ago
Kevin King b3639a0e9a Add rust bindings for `upb_Array_GetMutable` 11 months ago
Jakob Buchgraber 85972e505a #rust #protobuf Implement bytes as map values 11 months ago
Protobuf Team Bot d716c2e963 Reuse Message's accessor definitions on Msg+MsgMut+MsgView 11 months ago
Protobuf Team Bot deb2dff4e1 Progress towards reusing the same accessor definitions on Msg+MsgMut+MsgView 11 months ago
Jakob Buchgraber 8d9e3e9a1c #rust #protobuf Refactor maps to make ProxiedInMapValue independent of the runtime 11 months ago
Alyssa Haroldsen 406fa60c9e Edit comment in empty_repeated suggesting it's a thread-local value 11 months ago
Jakob Buchgraber 991a2f4d54 #refactor Simplify maps through the new ProxiedInMapValue<K> trait 11 months ago
Kevin King 8876b1069f impl SettableValue for MsgView 11 months ago