Erick Tryzelaar
84b289dd7b
1.5 is unhappy that this private module is undocumented
2016-04-12 09:24:32 -07:00
Erick Tryzelaar
dbba537b66
Merge branch 'skip_deserializing' of https://github.com/dtolnay/serde into dtolnay-skip_deserializing
2016-04-12 08:52:25 -07:00
Erick Tryzelaar
bc2324fba7
Merge branch 'feature/inhibit' of https://github.com/dtolnay/serde into dtolnay-feature/inhibit
2016-04-12 08:41:02 -07:00
Erick Tryzelaar
9082b75e75
Fix generating serde_{codegen,macros} documentation
2016-04-12 08:36:02 -07:00
Erick Tryzelaar
4b9f751d74
Merge pull request #264 from dtolnay/docs/links
...
Fix broken documentation links in Cargo.toml
2016-04-12 08:32:14 -07:00
Erick Tryzelaar
451700d3d2
Add more tests for renaming missing field
2016-04-12 08:26:56 -07:00
Erick Tryzelaar
1c5d83889c
Merge remote-tracking branch 'remotes/origin/master' into renamed_missing_field
2016-04-12 08:24:34 -07:00
Oliver Schneider
f659fa8919
add a test
2016-04-12 12:42:07 +02:00
David Tolnay
87393b61bb
feat(codegen) skip_deserializing
2016-04-10 20:29:37 -07:00
Erick Tryzelaar
a84b6aaedd
Bump syntex/aster/quasi version
2016-04-10 19:54:54 -07:00
Erick Tryzelaar
ac98a25291
Merge pull request #275 from dtolnay/brackets
...
Add missing close brackets in readme
2016-04-06 07:20:41 -07:00
Erick Tryzelaar
48dd47b2b7
Merge pull request #279 from jwilm/fix-deserialize-with-result
...
Fix `deserialize_with` in module with Result alias
2016-04-05 19:25:48 -07:00
Joe Wilm
4af850431c
Fix deserialize_with
in module with Result alias
...
Result<T, E> aliases usually provide one or both of `T` and `E`. This
would cause an error when using deserialize_with:
error: wrong number of type arguments: expected 1, found 2
which unhelpfully just pointed to `#[derive(Deserialize)]`
2016-04-05 15:53:51 -07:00
Oliver Schneider
95c5e8681e
Merge pull request #273 from serde-rs/void-unused-variables
...
Silence unused_variables warning with empty enums
2016-04-03 14:49:38 +02:00
Anthony Ramine
c7c5b50f35
Silence unused_variables warning with empty enums
...
Deriving Serialize or Deserialize on Void-like enums triggered an
unused_variables warning.
2016-04-03 14:31:04 +02:00
David Tolnay
a8509a1d03
Add missing close brackets in readme
2016-04-01 09:55:54 -07:00
Oliver Schneider
d9b6feef19
pass the renamed deserialize
field name to missing_field
2016-03-30 17:29:27 +02:00
Erick Tryzelaar
b526404707
Merge pull request #266 from serde-rs/clippy-badge
...
add clippy badge
2016-03-27 10:13:30 -07:00
Erick Tryzelaar
9785646246
feat(cargo): Update syntex
2016-03-16 23:52:21 -07:00
Oliver Schneider
332b51f58a
add clippy badge
2016-03-09 13:51:26 +01:00
David Tolnay
fb18a5cc56
Fix broken documentation links in Cargo.toml
2016-03-06 19:28:26 -08:00
Erick Tryzelaar
b1cab411d6
Merge pull request #263 from dtolnay/docs/quotes
...
Missing quotes in upgrading-from-0.6 section of readme
2016-03-06 21:28:48 -05:00
David Tolnay
b01fc032fd
Missing quotes in upgrading-from-0.6 section of readme
2016-03-06 18:26:38 -08:00
Erick Tryzelaar
f771eea6e6
doc(readme): Document new 0.7 skip-serializing approach
2016-03-06 21:20:04 -05:00
Erick Tryzelaar
6b127cb8d0
Update travis travis token
2016-03-06 21:14:23 -05:00
Erick Tryzelaar
d0a63b451c
Update README.md
2016-03-06 21:06:11 -05:00
Erick Tryzelaar
8296ff4bad
Merge pull request #257 from frewsxcv/patch-1
...
Remove now default 'sudo: false'
2016-03-02 03:11:39 -08:00
David Tolnay
eaff73a541
Where clause for generic types only
2016-02-29 21:53:58 -08:00
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
Corey Farwell
4d4b85318f
Remove now default 'sudo: false'
...
`sudo: false` is now default on Travis CI
2016-02-27 15:36:29 -05:00
Erick Tryzelaar
708a310ab0
Merge pull request #254 from erickt/error-custom
...
feat(errors): Switch Error::custom to use Into<String>
2016-02-26 21:25:01 -08:00
Erick Tryzelaar
ec75f22396
feat(errors): Switch Error::custom to use Into<String>
2016-02-26 21:12:16 -08:00
Erick Tryzelaar
6ea632e98b
doc(readme): Update readme to compile with latest serde
2016-02-26 11:17:43 -08:00
Erick Tryzelaar
4117b1c054
refactor(de): Minor shuffling of methods
2016-02-24 09:11:23 -08:00
Erick Tryzelaar
761284932b
doc(readme): Remove reference to old serde_json docs
2016-02-24 09:00:21 -08:00
Erick Tryzelaar
c244535f9b
Merge remote-tracking branch 'remotes/origin/v0.6.x'
2016-02-24 08:49:22 -08:00
Erick Tryzelaar
577c7657dc
Merge pull request #252 from ReadmeCritic/v0.6.x
...
Update README URLs based on HTTP redirects
2016-02-24 08:48:44 -08:00
Erick Tryzelaar
f05875e49a
Merge pull request #250 from dtolnay/yaml
...
YAML serde based on yaml-rust
2016-02-24 08:48:14 -08:00
Erick Tryzelaar
56400ac0ff
Merge remote-tracking branch 'remotes/origin/v0.6.x'
2016-02-24 08:31:17 -08:00
ReadmeCritic
a18d8fbc09
Update README URLs based on HTTP redirects
2016-02-24 06:33:14 -08:00
David Tolnay
a0eb235f0a
YAML serde based on yaml-rust
2016-02-24 00:22:48 -08:00
Erick Tryzelaar
c6cd8a09c0
Merge pull request #249 from erickt/master
...
Rename error trait methods, optimize bytes, don't expose primitive
2016-02-23 20:51:59 -08:00
Erick Tryzelaar
3e94bf2d13
fix(warnings): Fix clippy warnings
2016-02-23 20:38:06 -08:00
Erick Tryzelaar
f4c8ad6c3a
feat(de): Don't expose primitive
2016-02-23 20:38:06 -08:00
Erick Tryzelaar
57433e1eaa
feat(codegen): Optimize deserializing fields from byte strings
2016-02-23 20:38:06 -08:00
Erick Tryzelaar
118476b98b
feat(de): Rename de::Error trait methods
2016-02-23 20:21:07 -08:00
Erick Tryzelaar
6caf8a0074
fix(error): Report UnknownVariant
and InvalidValue
...
Don't unify it with syntax errors.
2016-02-23 20:21:07 -08:00
Erick Tryzelaar
96483ee54f
Merge pull request #246 from erickt/master
...
feat(cargo): Version bump to 0.7!
2016-02-23 20:20:52 -08:00
Erick Tryzelaar
6a9216f26a
Merge pull request #248 from Yoric/v0.6.x
...
Resolves #183 - Serialize and Deserialize for PhantomData
2016-02-23 20:20:23 -08:00
David Rajchenbach-Teller
4bba342e42
Resolves #183 - Serialize and Deserialize for PhantomData
2016-02-23 21:43:50 +01:00