Crates.io | serde-seeded |
lib.rs | serde-seeded |
version | |
source | src |
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 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.