It was previously possible to disable the default std feature which caused the compilation to fail if the serde or uuid features were active. There were also tests which caused compilation errors when not building tests with the std feature.
This will however require rust 1.60 or higher due to the use of weak dependency features (i.e. std = ["rand", "serde?/std", "uuid?/std"]). This is a bump from the previous need for somewhere around 1.46-1.54 depending on compilation parameters. The documentation is also extended to include which features are needed for specific fns.
The new implementation for serde no longer does any heap allocation, so it is completely safe to use in a no_std context. It can also sneakily deserialize all reasonable kinds of data without the need to override with deserialize_with if the Deserializer supports it.
It was previously possible to disable the default
std
feature which caused the compilation to fail if theserde
oruuid
features were active. There were also tests which caused compilation errors when not building tests with thestd
feature.This will however require rust 1.60 or higher due to the use of weak dependency features (i.e.
std = ["rand", "serde?/std", "uuid?/std"]
). This is a bump from the previous need for somewhere around 1.46-1.54 depending on compilation parameters. The documentation is also extended to include which features are needed for specificfn
s.The new implementation for
serde
no longer does any heap allocation, so it is completely safe to use in ano_std
context. It can also sneakily deserialize all reasonable kinds of data without the need to override withdeserialize_with
if theDeserializer
supports it.Fixes #57 and the specific use case in #52.