feanor-serde

Crates.iofeanor-serde
lib.rsfeanor-serde
version0.1.5
created_at2025-08-20 19:27:10.623994+00
updated_at2025-09-08 13:53:01.574392+00
descriptionA library extending serde by some utilities for working with DeserializeSeeds
homepagehttps://github.com/FeanorTheElf/feanor-serde
repositoryhttps://github.com/FeanorTheElf/feanor-serde
max_upload_size
id1803880
size57,449
Simon Pohmann (FeanorTheElf)

documentation

README

feanor-serde

This is a tiny library that provides some features to work with serde, in particular [serde::de::DeserializeSeed]s. I require these, since feanor-math and libraries building on it often need to serialize types that only exist as associated to some master object - e.g. ring elements, which belong to a ring. Hence, these can only be serialized and deserialized when given access to the master object, and thus must use [serde::de::DeserializeSeed]. Unfortunately, while serde makes it very convenient to implement [serde::Deserialize], not much utilities are provided for [serde::de::DeserializeSeed]. This library is a very small set of such utilities.

Commit count: 8

cargo fmt