61 Commits (07b325e5d7a38d8e5305ecd6daa44300e46a8446)

Author SHA1 Message Date
Protobuf Team Bot 0f02d8459b Move `msg.merge_from(othermsg)` onto a trait fn 4 months ago
Protobuf Team Bot 76c767fa1c Add traits for interop fns. 4 months ago
Derek Benson 6f58085577 Adds an initial Cargo.toml for the protobuf crate. 4 months ago
Protobuf Team Bot 461450834b Introduce a prelude and remove the inherent impls for serialize() 4 months ago
Jakob Buchgraber 8cdc700b5b Implement ctype=CORD for singular string & byte fields 4 months ago
Protobuf Team Bot 3c95fc8b76 Create AsView/IntoView/AsMut/IntoMut traits 4 months ago
Protobuf Team Bot 6d25846f47 Add 'specific' traits for common gencode message operations. 4 months ago
Protobuf Team Bot cf948e4a81 Restructure the ViewProxy versus MutProxy trait setup. 4 months ago
Derek Benson a6a0680e95 allow __ for inferred submessage types and implement array literal parsing in proto!. 4 months ago
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