Skip to content

Miniconf v0.9.0

Compare
Choose a tag to compare
@ryan-summers ryan-summers released this 01 Nov 14:17
· 653 commits to main since this release
d73adc4

Changed

  • The Miniconf trait has been split into TreeKey for the keys/path/indices and traversal,
    the TreeSerialize for serialization, and TreeDeserialize for deserialization.
    The derive macros have been split accordingly. A shorthand #[derive(Tree)] macro has been
    added to derive all three traits. The struct field attribute controlling
    recursion depth has been renamed to #[tree(depth(Y))].
  • [mqtt] The List command of the MqttClient now has a maximum correlation data length of 32 bytes
  • [mqtt] The MqttClient API has changed to support new Minimq versions
  • [mqtt] The Get command now only generates a single message in response to the provided
    ResponseTopic instead of a response type (with success) and a message on the original topic.
  • [mqtt] Handler function singatures now require Display instead of AsRef<str> types

Added

  • Deserializing with borrowed data is now supported.
  • [derive] Added #[tree(skip)] macro attribute to allow skipping entries.