Open fjarri opened 1 year ago
Because of some dark magic in serde-derive, we often need to specify explicit bounds when deriving Serialize/Deserialize. See https://serde.rs/attr-bound.html for the explanation of the problem. Is it possible to get rid of them somehow?
serde-derive
Serialize
Deserialize
The issue is caused by serde's bad bound heuristic for generic types. See https://github.com/serde-rs/serde/issues/2463
serde
Note: may be possible if https://github.com/ModProg/derive-where/issues/100 is fixed.
Because of some dark magic in
serde-derive
, we often need to specify explicit bounds when derivingSerialize
/Deserialize
. See https://serde.rs/attr-bound.html for the explanation of the problem. Is it possible to get rid of them somehow?