dep-protobuf/rust/upb_kernel
Protobuf Team Bot e1c5f3ac47 rust protobuf matchers: Add a partially matcher to mirror C++
It is common to want to match only a subset of fields in large protobufs, and doing that in rust right now requires manually clearing out the fields in the `actual` message that we don't care about. This is a pain, and a worse experience when compared to C++.

Like in C++, when doing partial matching, only fields set in the expected protobuf message are compared, while extra fields set only in the actual message are ignored.

When using the C++ kernel we leverage `proto2::util::MessageDifferencer`, and for the UPB kernel we use the `kUpb_CompareOption_Partial` option.

PiperOrigin-RevId: 964125682
2026-08-13 09:24:36 -07:00
..
conversions.rs Added appropriate super-traits to Enum. 2026-03-23 14:40:03 -07:00
extension.rs Replace transmute on arena with pointer cast 2026-06-04 10:36:14 -07:00
interop.rs Refactor: Move interop traits to kernel-specific modules. 2026-03-31 12:04:34 -07:00
map.rs Refactor: Split upb and cpp backends into submodules 2026-03-20 11:13:43 -07:00
message.rs rust protobuf matchers: Add a partially matcher to mirror C++ 2026-08-13 09:24:36 -07:00
minitable.rs Added infrastructure for Rust Extensions support, but left it disabled for now. 2026-04-08 08:08:46 -07:00
mod.rs Added infrastructure for Rust Extensions support, but left it disabled for now. 2026-04-08 08:08:46 -07:00
repeated.rs Refactor: Split upb and cpp backends into submodules 2026-03-20 11:13:43 -07:00
string.rs Refactor: Split upb and cpp backends into submodules 2026-03-20 11:13:43 -07:00