drops
drops copied to clipboard
cast to a map/struct
I would like to be able to cast to a map/struct, but
cast(string(), Caster) |> map()
doesn't work, as there doesn't seem to be a variant of the map
function that takes a cast_spec
as first argument.
Thanks for reporting this. I'll address it in ~0.2.1~ 0.3.0.