A library to extend serde serializers and deserializers with the ability to read / write different file formats from / to files.
FromFile
.ToFile
.FromFile
is auto-implemented for serde::Deserialize
.ToFile
is auto-implemented for serde::Serialize
.Currently the following file formats are supported:
JSON
via the json
feature.XML
via the xml
feature.YAML
via the yaml
feature.This library is heavily inspired by from_file
by Shane Osbourne.