Msgpack Rust Versions Save

MessagePack implementation for Rust / msgpack.org[Rust]

rmp-serde/v0.14.4

3 years ago

rmp-serde/v0.8.1

8 years ago

Changed

  • Upper limit for serde version.

Fixed

  • Use the most effective int encoding Even if the value is explicitly marked as i64 it must be encoded using the most effective bytes representation despite of signed it or unsigned.

rmp/v0.7.1

8 years ago

Changed

  • Use to_owned instead of to_string while converting ValueRef into Value. This change improves ValueRef::to_owned() method performance by approximately 10-20%.

    Also after this commit it's cheaper to decode directly into ValueRef with further converting to owned value rather than decoding directly into Value.

rmp-serde/v0.8.0

8 years ago

Changed

  • Serializer can now be extended with custom struct encoding policy.
  • Improved error types and its messages for serialization part.
    • New error type introduced - UnknownLength. Returned on attempt to serialize struct, map or serquence with unknown length (Serde allows this).
    • The new type is returned if necessary.

Fixed

  • Deserializer now properly works with enums.
  • Options with default values (that can be initialized using unit marker) deserialization. This fix also forbids the following Option deserialization cases:
    • Option<()>.
    • Option<Option<...>>. It's impossible to properly deserialize the listed cases without explicit option marker in protocol.
  • Serializer now properly serializes unit structs. Previously it was serialized as a unit (nil), now there is just an empty array ([]).

v0.6.0

8 years ago

Added

  • Initial support for Serde serializer and deserializer.
  • Efficient bytes serialization with Serde.
  • Efficient binaries deserialization with Serde using ByteBuf.
  • Rust serialize Decoder now can provide the underlying reader both by reference or by value, destroying itself in the last case.

Changed

  • Update well-formness for BigEndianRead trait to be implemented only for sized types.
  • Renamed PositiveFixnum marker to FixPos.
  • Renamed NegativeFixnum marker to FixNeg.
  • Renamed FixedString marker to FixStr.
  • Renamed FixedArray marker to FixArray.
  • Renamed FixedMap to FixMap.
  • Minor documentation updates and markdown fixes.

v0.5.1

8 years ago

Changed

  • Now the rustc_serialize::Encoder should encode signed integers using the most effective underlying representation.
  • Now the rustc_serialize::Decoder should properly map integers to the result type if the decoded value fits in result type's range.