Adds as_map
attribute to Encode derive macro instead of struct_as_map
param in the encode
function. When Encode
is adopted instead of rmp_serde
this should fix the inconsistency with de-serialization as map.
The design was initially proposed in #96 (comment 40504)
Relates to #96
_Encode
trait and its derive macro are not yet readyCargo.toml
files