52 Commits (0b4173e3edd5970fea27759d62e573ea7561d400)

Author SHA1 Message Date
Protobuf Team Bot ea241fe5aa Add Message, MessageMut, MessageView traits. 5 months ago
Marcel Hlopko 6b7e814347 Add ProtoString/Bytes owned types 5 months ago
Derek Benson 41315fd37f Poison builds that accidentally use both the Upb and Cpp kernel. This should only be possible for targets defined within the protobuf codebase. 6 months ago
Protobuf Team Bot fdc7f65849 Make serialization correctly be fallible in the Rust Protobuf API. 6 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 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
Jakob Buchgraber 1a7ce61061 Split Proxied into Proxied and MutProxied traits. 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 8 months ago
Jakob Buchgraber 42a49a8589 Implement the Error trait for ParseError. This makes it compatible with anyhow. 8 months ago
Alyssa Haroldsen 01312f9c34 Add RepeatedIter to public protobuf items 10 months ago
Alyssa Haroldsen 035d6ec2cb Implement map iteration 10 months ago
Jakob Buchgraber 929f19d3cc #protobuf #rust publicly export ParseError 10 months ago
Jakob Buchgraber 8d9e3e9a1c #rust #protobuf Refactor maps to make ProxiedInMapValue independent of the runtime 11 months ago
Alyssa Haroldsen 0ce51da377 Implement v0.6 enum definitions 11 months ago
Alyssa Haroldsen 6ae76fd6ed Rework Repeated and primitives with traits for use by out-of-crate items 12 months ago
Alyssa Haroldsen c2532d5f17 Move the info about perfect derive to shared.rs 12 months ago
Alyssa Haroldsen 74ff001424 Remove iteration and item mutators from Repeated 12 months ago
Jakob Buchgraber 976029283f Implement Maps for strings 12 months ago
Jakob Buchgraber 001be3c655 Implement Maps for scalar types for the C++ kernel 1 year ago
Jakob Buchgraber ac3f553073 This CL implements msg.<field>() and msg.<field_mut>() accessors for maps with primitive-typed keys and values for the UPB kernel only. 1 year ago
Kevin King 65cdac4ac5 Finish Proxied impls for rust repeated scalars 1 year ago
Protobuf Team Bot e1bb7d65a8 Implement rust repeated scalars for cpp and upb 1 year ago
Joshua Haberman 4a513035cf Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full. 1 year ago
Adrian Sadłocha 8c08df5a84 Implement mutators for singular primitive fields without presence 1 year ago
Alyssa Haroldsen 614e29f946 Implement v0.6 string fields 1 year ago
Alyssa Haroldsen d5d207f099 Move common macros to a shared location 1 year ago
Alyssa Haroldsen 9a0bc392b3 Implement v0.6 Optional Bytes 1 year ago
Protobuf Team Bot 33f239d355 Use a glob import in protobuf.rs 1 year ago
Protobuf Team Bot 49d3bca39f Improve overall `unsafe` hygiene 1 year ago
Protobuf Team Bot 8fe9d8e7c1 Define the shape of ProtoStr as a DST 1 year ago
Protobuf Team Bot a75def66cd Define the shape of BytesMut with stubbed methods 1 year ago
Protobuf Team Bot 0d7a39663b Implement the rest of the v0.6 Optional design 1 year ago
Hong Shin 4f20efbb78 Internal Change 1 year ago
Protobuf Team Bot 29a26156bb Add SettableValue for generic field setting 1 year ago
Protobuf Team Bot 263248e5b7 Add Optional, FieldEntry stubs for v0.6 1 year ago
Protobuf Team Bot 5a48187464 Move internal-only but kernel-agnostic paths into an `__internal` module 1 year ago
Marcel Hlopko cc83427ee3 Do not pass nullptr to slice::from_raw_parts 1 year ago
Dmitri Gribenko 0246e09df8 Copy-edit comments in shared.rs 1 year ago
Marcel Hlopko 209accaf6f Implement Proxied for v0.6 1 year ago
Marcel Hlopko ff750bb4c3 Put shared.rs and cpp.rs/upb.rs into the same crate. 2 years ago
Marcel Hlopko f92edc13c2 Automated rollback of commit fe7c4f9422. 2 years ago
Marcel Hlopko fe7c4f9422 Simplify Protobuf Rust runtime build setup 2 years ago
Marcel Hlopko 701e056e2b Zhuzh up the C++/Rust interop test to demonstrate more uses. 2 years ago
Miguel Young de la Sota 8e53046d94 Make protobuf_upb::Arena into a proper Rust RAII type. 2 years ago
Marcel Hlopko 0a05e2f334 Implement bytes field accessors for v0 Rust API 2 years ago
Marcel Hlopko 390b7f3e6f Implement Msg::parse(&mut self) for V0 API. 2 years ago