457 Commits (34019f45178c2814f93dd7a479eb4ee66134974b)

Author SHA1 Message Date
Jakob Buchgraber 1980e025eb Remove PrimitiveMut and related vtable types 10 months ago
Jakob Buchgraber d76fdc56bb Implement IntoProxied for messages 10 months ago
Protobuf Team Bot 1d0028ddda Fix unused warnings in Rust Proto 10 months ago
Marcel Hlopko 93bd4bb012 Ensure that the rust_proto_library is in the same package as proto_library 10 months ago
Marcel Hlopko 419824d26b Remove obsolete logic related to cc_proto_library 10 months ago
Jakob Buchgraber dcc5db4c56 Implement Arena::fuse() 10 months ago
Marcel Hlopko 59d8afde6b Use the main/proper proto_common 10 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. 10 months ago
Protobuf Team Bot 55875598f7 Add a collision-avoidance behavior to the Rust Proto codegen. 10 months ago
Jakob Buchgraber 849b975e5f Temporarily use AsRef<{ProtoStr, [u8]}> for string/bytes accessors 10 months ago
Jakob Buchgraber 1a7ce61061 Split Proxied into Proxied and MutProxied traits. 10 months ago
Protobuf Team Bot c413b1231c Change upb::Arena to be Send (but still not Sync) 10 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 10 months ago
Derek Benson a2d4a4af2c proto! doc comment and copyright 10 months ago
Marcel Hlopko 1a7ea70730 Add test coverage for UTF-8 behavior 10 months ago
Protobuf Team Bot d44ba9090c Refactor upb/rust directory to introduce separate files for each concept instead of a single blob. 10 months ago
Protobuf Team Bot 5c7a9fd997 Move the Rust `Arena` type which wraps a upb_Arena into the upb directory. 10 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 10 months ago
Alyssa Haroldsen 3f493d9e52 Use the same set of exports as regular users in shared tests 10 months ago
Protobuf Team Bot 2678e10c99 Create a upb rust directory. 10 months ago
Jakob Buchgraber 42a49a8589 Implement the Error trait for ParseError. This makes it compatible with anyhow. 10 months ago
Bastien Jacot-Guillarmod d172859878 Copybara import of the project: 10 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. 10 months ago
Protobuf Team Bot 21d75f861c Remove references to rules_proto 10 months ago
Protobuf Team Bot f421dc42b5 Change the Rust > C++ interop fns to be consuming-self, add a 'leak' to the name and a ManuallyDrop(self) on the owned message case. 10 months ago
Protobuf Team Bot b0c4dfc5ee Remove Arena definition in cpp.rs 10 months ago
Marcel Hlopko b4bf6b22e5 Add missing map thunks for nested enums. 10 months ago
Protobuf Team Bot dc5053acc4 Automated Code Change 10 months ago
Protobuf Team Bot 063c198f59 add empty case to extend repeated and map tests, fix map methods that consumed self 10 months ago
Protobuf Team Bot 7f6a0ba347 Implement Extend for Repeated 11 months ago
Protobuf Team Bot 83ec410d30 Internal change 11 months ago
Protobuf Team Bot 7df9d5d970 Use $Msg$::parse() where sensible. 11 months ago
Protobuf Team Bot 847d31afb2 Add a convenience SomeMsg::parse(bytes) -> Result<SomeMsg, ParseErr> 11 months ago
Protobuf Team Bot 0c8f970fc9 Implement Default::default() for owned messages. 11 months ago
Protobuf Team Bot 7c4d89e115 Implement Map::copy_from and implement the Extend trait for Maps 11 months ago
Protobuf Team Bot fa0d25a707 Add has_field() accessors for any field that supports presence. 11 months ago
Protobuf Team Bot 8198fe9a5f Change message-nesting namespacing to be some_msg:: instead of SomeMsg_:: 11 months ago
Protobuf Team Bot 06444cb6a1 Clean up some now-unnecessary or_default()s 11 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" 11 months ago
Marcel Hlopko 71eed03fda Remove unnecessary tags 11 months ago
Protobuf Team Bot f72c45ff75 Change .submsg_mut() to return $Msg$Mut instead of FieldEntry<$Msg$>. 11 months ago
Protobuf Team Bot 958dd59892 Remove the public _mut() accessors from string fields. 11 months ago
Protobuf Team Bot 7e47fc3e39 Remove the _mut() accessors from primitive fields (both explicit presence where they were FieldEntry and implicit presence where they were PrimitiveMut). 11 months ago
Protobuf Team Bot 7ec56d4243 Remove the oneof_mut accessor and expose the oneof_case accessor on gencode api. 11 months ago
Protobuf Team Bot be4476f100 Fix warnings about unnecessary 'use' due to Box, Send and Sync being defined in the language prelude. 11 months ago
Jakob Buchgraber ad5e55ab92 #protobuf #rust Mark {Map, Repeated}::new() as public 11 months ago
Protobuf Team Bot 9ff062cd34 Make types for 'inner' (runtime-specific) owned Repeated and Maps 11 months ago
Protobuf Team Bot bb1c0abcbf Make the oneof view accessors use consuming-self and the corresponding longer lifetime, avoiding unnecessary shortening of lifetimes in some cases. 11 months ago
Jakob Buchgraber 03687b798b #rust #protobuf Implement custom Debug for C++ kernel 11 months ago
Jakob Buchgraber 997281b5bb #protobuf #rust use align parameter in __pb_rust_alloc 11 months ago