8 Commits (5d58caeebc5c2779ab4db87285280784159f9ed4)

Author SHA1 Message Date
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
Protobuf Team Bot 0f02d8459b Move `msg.merge_from(othermsg)` onto a trait fn 4 months ago
Derek Benson a6a0680e95 allow __ for inferred submessage types and implement array literal parsing in proto!. 5 months ago
Derek Benson 91dfd8698a add .. operator to proto! for merge_from. This mimics Rust's struct update syntax. 6 months ago
Jakob Buchgraber 1a7ce61061 Split Proxied into Proxied and MutProxied traits. 8 months ago
Derek Benson b4bd664b07 Rust: fix proto! msgtype matcher to look for :: separated idents instead of a ty to avoid syntax errors during parse 8 months ago
Derek Benson a2d4a4af2c proto! doc comment and copyright 8 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