Crates.io | preferences-ron |
lib.rs | preferences-ron |
version | 2.0.1 |
source | src |
created_at | 2021-06-16 23:57:48.536032 |
updated_at | 2021-06-19 04:47:17.706264 |
description | Read and write user-specific application data using RON format |
homepage | |
repository | https://github.com/dan-da/preferences-ron |
max_upload_size | |
id | 411075 |
size | 25,634 |
Read and write user-specific Rust application data in RON format.
RON stands for Rusty Object Notation
and looks similar to JSON but
fully encodes Rust type information.
This crate is a fork of preferences-rs, which uses JSON. Unfortunately some application data structures cannot be written in JSON. Particularly those that use structs as map keys. Also that library seems unmaintained since 2017 and does not yet support Serde 1.0+. Hence this fork.
https://docs.rs/preferences-ron
$ cargo add preferences-ron