serde/serde_codegen
David Tolnay 19ec8bbdb9 feat(codegen): Inhibit generic bounds if skip_serializing
The generated code for a struct like:

    struct Test<A, B, C> {
        a: X<A>
        #[serde(skip_serializing)]
        b: B
        #[serde(serialize_with="...")]
        c: C
    }

Used to be:

    impl<A, B, C> Serialize for Test<A, B, C>
        where A: Serialize,
              B: Serialize,
              C: Serialize,
    { ... }

Now it is:

    impl<A, B, C> Serialize for Test<A, B, C>
        where X<A>: Serialize,
    { ... }

Both `skip_serializing` and `serialize_with` mean the type does not need to
implement `Serialize`.
2016-02-28 19:11:51 -08:00
..
src feat(codegen): Inhibit generic bounds if skip_serializing 2016-02-28 19:11:51 -08:00
build.rs Initial support for syntex 2015-05-18 23:34:17 -07:00
Cargo.toml feat(cargo): Version bump to 0.7! 2016-02-23 05:26:07 -08:00