384 Commits (9f5aed39eace818ca574cde02c222e60e730f6d8)

Author SHA1 Message Date
Derek Benson db06125563 split protobuf rust benchmark into separate binaries for upb/cpp 6 months ago
Marcel Hlopko fe6963970c Rename IntoProxied::into -> IntoProxied::into_proxied 6 months ago
Protobuf Team Bot a6d4827482 Fix build rule dependency for serialization_cpp_test 6 months ago
Protobuf Team Bot 61a2df3129 Allow non-repeated StringPiece accessors to be generated. 6 months ago
Protobuf Team Bot 7dcae81096 Add serialization test and parameterize tests to verify behavior in multiple versions of the protocol buffer language. 6 months ago
Jakob Buchgraber ec61d65a23 Fix debug_test to work with C++ lite 6 months ago
Protobuf Team Bot 85d6d513d8 Use SerializeWithCachedSizesToArray on Rust-cpp serialization path. 6 months ago
Jakob Buchgraber 3c9978d4bd Mark owned Repeated & Map types as Send & Sync. 6 months ago
Protobuf Team Bot d0e79cf761 Actually make Serialize fallible on Rust-cpp. 6 months ago
Jakob Buchgraber 68da9337b4 Remove 'assert_c_type_sizes' test 6 months ago
Protobuf Team Bot fdc7f65849 Make serialization correctly be fallible in the Rust Protobuf API. 6 months ago
Jakob Buchgraber 01ec3fab1f Accept MessageLite type instead of the Message type in SerializeMsg 6 months ago
Derek Benson 911fa984bc Add benchmarks for Protobuf Rust that demonstrate the overhead of the Rust implementations. 6 months ago
Marcel Hlopko eca477a0f1 Internal change. 6 months ago
Marcel Hlopko 69a26b217d Use the name of the rust_proto_library as the crate name 6 months ago
Marcel Hlopko e71c811a3a Extract crate name mangling function 6 months ago
Marcel Hlopko a8cb5833aa Verify rust_proto_library name 6 months ago
Protobuf Team Bot 2238cdc091 Add impl Clone for Rust proto owned messages. 7 months ago
Derek Benson 904266db57 inline repeated field methods 7 months ago
Derek Benson f2d8c2bdd8 Add a reserve method on ProxiedInRepeated 7 months ago
Protobuf Team Bot d8329b68e4 Add .to_owned(&self)->Msg functions to MsgMut and MsgView 7 months ago
Jakob Buchgraber b6e0a48b02 Implement `IntoProxied` for repeated field setters 7 months ago
Bastien Jacot-Guillarmod 7b3682fcf2 Pin the rev of googletest to the GitHub main branch 7 months ago
Adrian Sadłocha 733b9c54e9 Implement `is_known` method on the `Enum` trait 7 months ago
Jakob Buchgraber 959903d199 Remove the now unused vtable types. In particular, 7 months ago
Jakob Buchgraber e181855abe Implement flat setters for map and repeated fields. 7 months ago
Jakob Buchgraber f9ed22055e Remove MutProxied for bytes/string fields. 7 months ago
Jakob Buchgraber 1980e025eb Remove PrimitiveMut and related vtable types 7 months ago
Jakob Buchgraber d76fdc56bb Implement IntoProxied for messages 7 months ago
Protobuf Team Bot 1d0028ddda Fix unused warnings in Rust Proto 7 months ago
Marcel Hlopko 93bd4bb012 Ensure that the rust_proto_library is in the same package as proto_library 7 months ago
Marcel Hlopko 419824d26b Remove obsolete logic related to cc_proto_library 7 months ago
Jakob Buchgraber dcc5db4c56 Implement Arena::fuse() 7 months ago
Marcel Hlopko 59d8afde6b Use the main/proper proto_common 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
Protobuf Team Bot 55875598f7 Add a collision-avoidance behavior to the Rust Proto codegen. 7 months ago
Jakob Buchgraber 849b975e5f Temporarily use AsRef<{ProtoStr, [u8]}> for string/bytes accessors 7 months ago
Jakob Buchgraber 1a7ce61061 Split Proxied into Proxied and MutProxied traits. 7 months ago
Protobuf Team Bot c413b1231c Change upb::Arena to be Send (but still not Sync) 7 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 7 months ago
Derek Benson a2d4a4af2c proto! doc comment and copyright 7 months ago
Marcel Hlopko 1a7ea70730 Add test coverage for UTF-8 behavior 7 months ago
Protobuf Team Bot d44ba9090c Refactor upb/rust directory to introduce separate files for each concept instead of a single blob. 7 months ago
Protobuf Team Bot 5c7a9fd997 Move the Rust `Arena` type which wraps a upb_Arena into the upb directory. 7 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 7 months ago
Alyssa Haroldsen 3f493d9e52 Use the same set of exports as regular users in shared tests 8 months ago
Protobuf Team Bot 2678e10c99 Create a upb rust directory. 8 months ago
Jakob Buchgraber 42a49a8589 Implement the Error trait for ParseError. This makes it compatible with anyhow. 8 months ago
Bastien Jacot-Guillarmod d172859878 Copybara import of the project: 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