Crates.io | serde_rw |
lib.rs | serde_rw |
version | 0.4.2 |
source | src |
created_at | 2023-06-22 03:27:28.625617 |
updated_at | 2023-08-31 20:30:25.498685 |
description | Extend serde serializers and deserializers with the ability to read / write different file formats from / to files |
homepage | https://github.com/conqp/serde_rw/ |
repository | https://github.com/conqp/serde_rw/ |
max_upload_size | |
id | 896863 |
size | 26,642 |
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.TOML
via the toml
feature.XML
via the xml
feature.YAML
via the yaml
feature.This library is inspired by from_file
by Shane Osbourne.