Crates.io | generic |
lib.rs | generic |
version | 0.0.2 |
source | src |
created_at | 2019-09-29 21:23:33.286451 |
updated_at | 2019-09-29 21:46:08.071685 |
description | Higher level serialization of rust values to rust values |
homepage | https://github.com/colbyn/generic |
repository | https://github.com/colbyn/generic |
max_upload_size | |
id | 168685 |
size | 9,358 |
Higher level serialization of rust values to rust values, and from rust values.
Reusable stuff for mapping values to and from an intermediate serde-like data format. That is actually something you can pattern match on.
For use cases that work with native values directly, and don’t involve parsing from some textual or binary format.
Should be useful for people writing higher level abstractions upon e.g. some DynamoDB SDK that handles HTTP/JSON serialization internally. Yet still exposes a very tedious data format/api.
Currently just IntoGeneric
is implemented. Eventually I would like to support
both IntoGeneric
and perhaps some FromGeneric
trait and deriving macro.