37 Commits (46c0b580675f4f1bff69b97848b3712c2bc9ec5c)

Author SHA1 Message Date
Derek Benson 4c38e117ac Use crate:: for assert_linked instead of super::super:: 8 months ago
Derek Benson 0f4bfc4eac Migrate upb/rust to gtest 8 months ago
Protobuf Team Bot bd3629c6b9 Fix comment reference to cpp `std::string_view` 8 months ago
Derek Benson a0f79ebc57 Add linkage assertions to all extern upb functions. This makes it a compiler error if you try to run the tests and are missing an extern fn. Will be used to ensure that the Cargo build's amalgamated upb has everything that's needed. 8 months ago
Protobuf Team Bot b35d4bad3c Change `upb` crate source to not use std or alloc 8 months ago
Joshua Haberman 8422e9795f Migrated upb to use Copybara-standard stripping. 9 months ago
Joshua Haberman e4449ba248 Harmonize license rules between google3 and OSS 9 months ago
Protobuf Team Bot 07b325e5d7 Move map accessors off of upb c accessor codegen. 9 months ago
Protobuf Team Bot 36a969296d Move oneof accessors off of upb c accessor codegen. 9 months ago
Protobuf Team Bot 807ecfd0fa Move repeated fields and singular cords off of upb C accessor codegen. 9 months ago
Protobuf Team Bot 98309afade Move singular strings off of upb c accessor codegen. 9 months ago
Protobuf Team Bot 5cebdef929 Fix AssociatedMiniTable to be an unsafe trait with a safe fn, instead of having an unsafe fn. 9 months ago
Protobuf Team Bot e9b04b1f8f Stop using upb C accessor codegen for submsg accessors. 9 months ago
Protobuf Team Bot 9f4f302f9c Change upb singular scalar accessors to not use upb C accessor codegen. 9 months ago
Protobuf Team Bot 115b1925c6 Switch AssociatedMiniTable to a fn from an associated const. 9 months ago
Protobuf Team Bot 7ad56e7cbb Introduce an upb::AssociatedMiniTable trait in Rust. 10 months ago
Derek Benson 504a5d0311 Add pkg build rules to create a zip of the protobuf rust crate 10 months ago
Derek Benson 1e1bf0d1fc Move the declaration of the upb map begin constant into rust 10 months ago
Protobuf Team Bot 0fbba32b3e Add Message::Clear() and MessageMut::Clear() (behind the Clear trait) 10 months ago
Derek Benson 6f58085577 Adds an initial Cargo.toml for the protobuf crate. 10 months ago
Derek Benson 41f12a239c Add missing #![deny(unsafe_op_in_unsafe_fn)] to upb/rust/lib.rs and fix violating functions 10 months ago
Protobuf Team Bot 607b4b1b6c Change rust/upb to only ever do `use super::` rather than `use crate::` 10 months ago
Protobuf Team Bot f9dd9ce66e UPB text encoder without using reflection for Rust (used for a message's Debug trait) that will print out field number to value entries instead of field name to value entries of a message like how it's expected for the usual text format using reflection. 10 months ago
Protobuf Team Bot 219e8ead2f Add license headers 11 months ago
Derek Benson 290df684f9 expose upb_Message_MergeFrom in rust upb bindings 11 months ago
Adam Cozzette ccbed29c67 Rust protobuf: make `serialize()` method return `Vec<u8>` 11 months ago
Protobuf Team Bot 44c80977b0 Silence warning on upb/rust/wire.rs DecodeOption 11 months ago
Protobuf Team Bot 8ef32176e3 Expose upb_Message_IsEqual to Rust upb. 11 months ago
Protobuf Team Bot d471c874e3 Turn on 'CheckRequired' option on upb decode 11 months ago
Derek Benson f2d8c2bdd8 Add a reserve method on ProxiedInRepeated 1 year ago
Jakob Buchgraber b6e0a48b02 Implement `IntoProxied` for repeated field setters 1 year ago
Jakob Buchgraber dcc5db4c56 Implement Arena::fuse() 1 year 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. 1 year ago
Protobuf Team Bot c413b1231c Change upb::Arena to be Send (but still not Sync) 1 year ago
Protobuf Team Bot d44ba9090c Refactor upb/rust directory to introduce separate files for each concept instead of a single blob. 1 year ago
Protobuf Team Bot 5c7a9fd997 Move the Rust `Arena` type which wraps a upb_Arena into the upb directory. 1 year ago
Protobuf Team Bot 2678e10c99 Create a upb rust directory. 1 year ago