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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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!()
}
Serde is licensed under either of
at your option.
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.