452 Commits (4e44304deeb483b251b828a51283ee0f4650be98)

Author SHA1 Message Date
Tony Liao dbaa526b07 Fix import path for rust proto files. 2 months ago
Derek Benson 6bfff3909c Cross compiled protoc and protoc-gen-upb_minitable as part of the build process for creating the codegen crate. 2 months ago
Protobuf Team Bot 6ae5db635e Enable rust/test/cpp/interop/... tests on GHA 2 months ago
Derek Benson 9bcd7087ae Add support for instantiating Maps using proto!. Also adds an IntoProxied implementation for Maps that accepts an Iterator of (K, V), just like what we have for Repeated fields. 2 months ago
Adam Cozzette d900d6114c Rust: remove use of `MapNodeSizeInfoT` from generated code 2 months ago
Protobuf Team Bot eeb7dc88f2 'Temporary' fix to avoid breakage from to_json and to_proto on crate_info() on some bazel versions. 2 months ago
Derek Benson 3b62052186 Add an example crate with a few small tests using the codegen crate. 2 months ago
Protobuf Team Bot b5d33208b8 Fix error message formatting in rust_proto_library 2 months ago
Adam Cozzette 6f5b35be59 Rust: make generated views implement `std::default::Default` 2 months ago
Nathan Baulch e4cbc79ab4 Fix minor typos (#17682) 2 months ago
Protobuf Team Bot c47de0fe5f Add :protobuf_lite as a dep from all Rust CC generated code. 2 months ago
Protobuf Team Bot 1c35963010 Correct rust include references in Rust-C++ gencode in OSS. 2 months ago
Adam Cozzette 5c3d1e8c30 Rust protobuf: remove the need for a generated `placement_new` thunk 2 months ago
Protobuf Team Bot 87f9ecc14d Fix label_to_crate_name() in OSS 2 months ago
Adam Cozzette dc23fedbf3 Simplify the way C++ function is passed to `UntypedMapIterator::next_unchecked` 2 months ago
Protobuf Team Bot 1f472f1db3 Remove proto_best_practices from Rust test files in OSS 2 months ago
Protobuf Team Bot 5da098b8b0 Make SerializedData into a POD struct. 2 months ago
Protobuf Team Bot 4671dce58a Fix visibility on "internal to any protobuf usage outside of this directory" for rust_library targets in OSS 2 months ago
Protobuf Team Bot 3d39282d73 Fix a missing cfg=bzl flag that made all cpp kernel usage broken in OSS. 2 months ago
Protobuf Team Bot 4834eb75cb Move some :unittest_(cpp|upb)_rust_proto target to be colocated with the .proto file that defines them 3 months ago
Protobuf Team Bot dd07031683 Internal Change 3 months ago
Derek Benson c3e7e987fe Add a cargo test step to the rust gha 3 months ago
Adam Cozzette 1142838bbc Rust: get all types onto a single blanket ProxiedInMapValue implementation for upb 3 months ago
Derek Benson e9e499f884 make cargo_test.sh executable 3 months ago
Derek Benson 6174e13ee2 Add new blaze target for running the protobuf and upb crates tests using Cargo 3 months ago
Protobuf Team Bot 92aca2d442 Exclude rust/test/benchmarks from GitHub 3 months ago
Derek Benson 4c38e117ac Use crate:: for assert_linked instead of super::super:: 3 months ago
Protobuf Team Bot cb6b460cc9 Remove staticanalysis best practices options from enums.proto 3 months ago
Hong Shin 7ace14c513 Abrogate protos::Arena with hpb::Arena 3 months ago
Derek Benson 0f4bfc4eac Migrate upb/rust to gtest 3 months ago
Protobuf Team Bot bd3629c6b9 Fix comment reference to cpp `std::string_view` 3 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. 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
Derek Benson b8764f0941 add MSRV to the protobuf crate 3 months ago
Protobuf Team Bot 5d341470da Initial pass of a proto_eq gtest macro. 3 months ago
Joshua Haberman 8422e9795f Migrated upb to use Copybara-standard stripping. 3 months ago
Joshua Haberman e4449ba248 Harmonize license rules between google3 and OSS 3 months ago
Protobuf Team Bot ee9c176e73 Don't include upb accessors C codegen in Rust-upb build 3 months ago
Protobuf Team Bot 07b325e5d7 Move map accessors off of upb c accessor codegen. 3 months ago
Protobuf Team Bot 36a969296d Move oneof accessors off of upb c accessor codegen. 3 months ago
Protobuf Team Bot 807ecfd0fa Move repeated fields and singular cords off of upb C accessor codegen. 3 months ago
Protobuf Team Bot 98309afade Move singular strings off of upb c accessor codegen. 3 months ago
Protobuf Team Bot 5cebdef929 Fix AssociatedMiniTable to be an unsafe trait with a safe fn, instead of having an unsafe fn. 3 months ago
Protobuf Team Bot e9b04b1f8f Stop using upb C accessor codegen for submsg accessors. 3 months ago
Protobuf Team Bot 9d3391f183 Use MapView/MapMut instad of View<Map>/Mut<Map> 3 months ago
Protobuf Team Bot e26ef8683e Cleanup pass on where we use Private and doc(hidden) 3 months ago
Mike Kruskal 5695a882bd Move -Werror to our test/dev bazelrc files. 3 months ago
Protobuf Team Bot 9f4f302f9c Change upb singular scalar accessors to not use upb C accessor codegen. 3 months ago
Protobuf Team Bot db3e837e02 Add an `_unchecked_lifetime` version of the Cpp interop wrap fns. 3 months ago