Crates.io | serde_krds |
lib.rs | serde_krds |
version | 0.1.1 |
source | src |
created_at | 2023-08-31 05:31:22.422679 |
updated_at | 2023-08-31 05:50:01.838877 |
description | Serde serializer and deserializer implementations for Amazon's KRDS data format. |
homepage | |
repository | https://github.com/willemml/serde_krds |
max_upload_size | |
id | 959525 |
size | 52,213 |
Serializer and deserializer implementation for Amazon's KRDS format (used by Kindle e-readers to store user reading data.)
Warning, some types are fragile, for example Tuple Structs cannot contain optionals anywhere except at the end. They will fail to deserialize if the optional is none if this rule is not followed. More stable implementations may be created as needs arise and I understand serde more.
Check my other project, kindle_formats-rs for Rust struct representations of Kindle data files that use the KRDS format.
Information on how the data is structured in the binary format was determined by jhowell in this mobilereads.com thread.