serde-rs/legacy

Name: legacy

Owner: serde-rs

Description: Legacy Serde shims

Created: 2017-05-06 17:01:07.0

Updated: 2017-05-06 17:01:35.0

Pushed: 2017-05-06 17:01:34.0

Homepage: null

Size: 8

Language: Rust

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Legacy Serde shims

These shim crates allow a single crate to support impls for multiple versions of Serde at the same time.

rn crate serde08;
rn crate serde09;
rn crate serde1;

ct S;

 serde08::Deserialize for S {
fn deserialize<D>(deserializer: &mut D) -> Result<Self, D::Error>
    where D: serde08::Deserializer
{
    unimplemented!()
}


 serde09::Deserialize for S {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where D: serde09::Deserializer
{
    unimplemented!()
}


<'de> serde1::Deserialize<'de> for S {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where D: serde1::Deserializer<'de>
{
    unimplemented!()
}

License

Serde is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Serde by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.