serde-seeded

Crates.ioserde-seeded
lib.rsserde-seeded
version
sourcesrc
created_at2025-02-17 00:40:27.467481+00
updated_at2025-02-17 00:40:27.467481+00
descriptionTrait and macros for easy seeded serialization with `serde`.
homepagehttps://github.com/timothee-haudebourg/serde-seeded-rs
repositoryhttps://github.com/timothee-haudebourg/serde-seeded-rs
max_upload_size
id1558309
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`
size0
Timothée Haudebourg (timothee-haudebourg)

documentation

https://docs.rs/serde-seeded

README

Seeded serialization

CI Crate informations License Documentation

This library provides types, traits and derive macros to deal with seeded serialization/deserialization with serde.

  • A SerializeSeeded trait and derive macro to serialize types with a seed.
  • A Seeded<Q, T> type that implements Serialize calling T::serialize_seeded with a seed Q.
  • A DeserializeSeeded trait and derive macro to deserialize types with a seed.
  • A Seed<Q, T> type implementing DeserializeSeed calling T::deserialize_seeded with a seed Q.

See the tests folder to find some examples.

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 4

cargo fmt