| Crates.io | serde-seeded |
| lib.rs | serde-seeded |
| version | 0.1.0 |
| created_at | 2025-02-17 00:40:27.467481+00 |
| updated_at | 2025-02-17 00:40:27.467481+00 |
| description | Trait and macros for easy seeded serialization with `serde`. |
| homepage | https://github.com/timothee-haudebourg/serde-seeded-rs |
| repository | https://github.com/timothee-haudebourg/serde-seeded-rs |
| max_upload_size | |
| id | 1558309 |
| size | 37,539 |
This library provides types, traits and derive macros to deal with seeded serialization/deserialization with serde.
SerializeSeeded trait and derive macro to serialize types with a seed.Seeded<Q, T> type that implements Serialize calling
T::serialize_seeded with a seed Q.DeserializeSeeded trait and derive macro to deserialize types with a
seed.Seed<Q, T> type implementing DeserializeSeed calling
T::deserialize_seeded with a seed Q.See the tests folder to find some examples.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.