AltSysrq / supercow

Rust crate for accepting general reference-like values without proliferating generics.
Apache License 2.0
35 stars 3 forks source link

Serde support #1

Open ricochet1k opened 5 years ago

ricochet1k commented 5 years ago

Serde supports serializing and deserializing through Cow, can you add Serde support for Supercow? Are you around to accept the implementation if I submit a PR?

Some relevant links: https://serde.rs/lifetimes.html https://docs.serde.rs/src/serde/de/impls.rs.html#1704-1716 https://docs.serde.rs/src/serde/ser/impls.rs.html#384-392

AltSysrq commented 5 years ago

Yes, I would be willing to accept a PR to add serde support. (Sorry about the delayed response.)