Vec <-> BTreeMap conversion not available in no_std
mode
#527
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
no_std
Issues relating to the `no_std` usage of this crate.
Someone on Discord pointed out that Seq <-> Map conversions don't work under
no_std
, given that the marker typesVec
,BTreeMap
,HashMap
are only available withalloc
/std
.Map
andList
/Seq
types as replacements available inno_std
.IntoIterator
/FromIterator
instead of hard-coding certain combinations. This could bring it closer to the oldertuple_list_as_map
behavior.Open questions:
List
orSeq
the better name? Serde uses seq.Map
might conflict with type aliases or import renames. But are there alternatives?The text was updated successfully, but these errors were encountered: