Skip to content

Releases: wojciech-graj/bin-proto

Release v0.4.0

18 May 23:23
Compare
Choose a tag to compare
  • Delete EnumExt
  • Bump dependencies, and rust version to 2021
  • Make lifetime generics work
  • Handle context using generics instead of Any
  • Improve derive macro hygiene
  • Improve derive macro error reporting

Release v0.3.0

28 Mar 18:40
Compare
Choose a tag to compare
  • Implement ExternallyLengthPrefixed on HashMap, BTreeMap, String
  • Do not implement Protocol on char, range, HashMap, BTreeMap
  • Implement protocol on Ipv4Addr and Ipv6Addr, (T0, ), (), Box
  • Rename Enum trait to EnumExt
  • Delete Settings, replace with ByteOrder
  • Clean up Error

Release v0.2.1

27 Mar 21:28
Compare
Choose a tag to compare
  • Add context to all parse functions
  • Remove #[repr(...)], instead specify repr in #[protocol(discriminant = "...")]
  • Remove Hints, LengthPrefixed, etc.
  • Add #[protocol(write_value = "<expr>")] for automatically writing arbitrary element value
  • Replace #[protocol(length_prefix(<kind>(<field>)))] with #[protocol(length = "<expr>")]
  • Check attribute applicability in every context
  • Require discriminants type to be specified for an enum

Release v0.1.0

26 Mar 11:12
Compare
Choose a tag to compare

Initial release