74 Commits (f87523dd41f6f0e64dbc55b64cac2c304afcf619)

Author SHA1 Message Date
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 4 months ago
Derek Benson 6f58085577 Adds an initial Cargo.toml for the protobuf crate. 4 months ago
Protobuf Team Bot a1c53e4da2 Remove +?Sized bounds which simply aren't honored anyway. 4 months ago
Protobuf Team Bot 9d2dafe1e5 Add #[doc(hidden)] and a _private arg on SerializedData 4 months ago
Protobuf Team Bot cf948e4a81 Restructure the ViewProxy versus MutProxy trait setup. 4 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 5 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, 7 months ago
Jakob Buchgraber 1980e025eb Remove PrimitiveMut and related vtable types 7 months ago
Protobuf Team Bot 1d0028ddda Fix unused warnings in Rust Proto 7 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. 7 months ago
Jakob Buchgraber 849b975e5f Temporarily use AsRef<{ProtoStr, [u8]}> for string/bytes accessors 7 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 9 months ago
Alyssa Haroldsen c6af7f76b7 Replace UpbTypeConversions::empty_message_value with MaybeUninit/null 9 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$ 10 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
Alyssa Haroldsen 0ce51da377 Implement v0.6 enum definitions 12 months ago
Protobuf Team Bot c288343d01 Implement SettableValue[u8] for SerializedData 12 months ago
Jakob Buchgraber b539fa9c05 #cleanup Drop MapWithKeyOps::Value type in favor of Proxied::View. 12 months ago
Alyssa Haroldsen f51182b543 Add RepeatedMut::clear, free for owned Repeated 12 months ago
Alyssa Haroldsen 6ae76fd6ed Rework Repeated and primitives with traits for use by out-of-crate items 12 months ago