Commit Graph

121 Commits

Author SHA1 Message Date
David Tolnay
07154303ed
Implement Debug for public types 2017-04-13 11:04:16 -07:00
David Tolnay
4f39766211
Fix paths to readme files 2017-04-13 10:37:24 -07:00
David Tolnay
0d82bbf74f
Rename ValueDeserializer trait to IntoDeserializer 2017-04-11 23:20:35 -07:00
David Tolnay
aed5a77540
Fix assert_next_token on old rustc 2017-04-10 19:41:32 -07:00
David Tolnay
52e93150e6
Standardize on u32 as the type of a variant index 2017-04-09 14:03:18 -07:00
David Tolnay
a38b24136b
Rename deserialize_struct_field to deserialize_identifier
Because it applies to both struct fields and discriminants of an enum.
2017-04-09 13:35:22 -07:00
David Tolnay
8fd41d3b28
Disable publishing 2017-04-05 15:11:47 -07:00
David Tolnay
a7f6ad137a
Merge branch 'master' into '1.0'
Conflicts:
    serde/src/macros.rs
2017-04-05 15:10:18 -07:00
David Tolnay
1b763da529
Release 0.9.13 2017-04-05 15:03:37 -07:00
David Tolnay
826b53f691
Update token names in serde_test 2017-04-05 10:30:46 -07:00
David Tolnay
b6605b57e0
Modernize serde_test Token names 2017-04-05 10:26:34 -07:00
David Tolnay
f03e8e6056
Exhaustive match in serde_test deserializer 2017-04-05 09:54:12 -07:00
David Tolnay
67ed7a0edd
Eliminate Sep tokens in serde_test 2017-04-05 09:42:27 -07:00
David Tolnay
c3d9b42cdf
Fix handling of option and newtype in IgnoredAny 2017-04-05 09:19:22 -07:00
David Tolnay
b2377d4c0b
Allow enums in ignored map value in serde_test 2017-04-05 08:54:30 -07:00
David Tolnay
21adee8f40
Partial support for EnumStart in assert_ser_tokens 2017-04-05 01:15:42 -07:00
David Tolnay
afaab12b66
Improve assert_ser_tokens error messages 2017-04-05 01:06:42 -07:00
David Tolnay
93860d0643
Require slice of tokens in serde_test::Serializer 2017-04-05 00:27:30 -07:00
David Tolnay
b43554fbb1
Require slice of tokens in serde_test::Deserializer 2017-04-05 00:22:00 -07:00
David Tolnay
5871fb9ce0
Remove lifetime from serde_test::Token 2017-04-05 00:17:50 -07:00
David Tolnay
211e2bb8d9
Support borrowed tokens in serde_test 2017-04-04 09:56:01 -07:00
David Tolnay
d3a2f5e268
Add a 'de lifetime to the deserialize traits 2017-03-29 00:10:34 -07:00
David Tolnay
59b3961ad4
Release 0.9.12 2017-03-27 15:45:14 -07:00
David Tolnay
dc9445f873
Release 0.9.11 2017-03-05 16:51:44 -08:00
David Tolnay
d70636f4d4 Merge pull request #794 from clarcharr/master
Documentation for serde_test.
2017-03-02 11:53:05 -08:00
Clar Charr
09e467cc4c Documentation for serde_test. 2017-02-28 18:20:27 -05:00
David Tolnay
51ed9c2a40
Release 0.9.10 2017-02-28 12:45:39 -08:00
David Tolnay
59ec931d8f
Release 0.9.9 2017-02-24 13:57:52 -08:00
David Tolnay
5fbdadefb2
Deserializing enums in serde_test 2017-02-24 13:47:04 -08:00
David Tolnay
017e6d304f
Release 0.9.8 2017-02-21 10:59:42 -08:00
David Tolnay
89cbb81673
Include readme and licenses in crates.io archive
Fixes #772.
2017-02-20 21:11:57 -08:00
David Tolnay
e8651a52e7
Rustfmt 2017-02-12 22:15:59 -08:00
David Tolnay
964a2dd4d1
Release 0.9.7 2017-02-09 17:52:11 -08:00
David Tolnay
d1306a78ec
Release 0.9.6 2017-02-03 08:02:47 -08:00
David Tolnay
ff21d557c7
Untagged and internally tagged enums 2017-02-02 18:48:30 -08:00
David Tolnay
d960571439
Release 0.9.5 2017-02-01 01:01:06 -08:00
Oliver Schneider
368784949e move to cargo clippy instead of using the clippy plugin (#733)
* move to cargo clippy instead of using the clippy plugin

fixes #729

* non-exectable scripts must be run with `sh`

* don't build serde in the clippy travis job

* only run clippy tests if installing clippy succeeds

* why is travis so picky?

* no more serde_codegen

* serde_test_suite_deps has no features

* don't use empty loops, llvm optimizes them to undefined behaviour

* abort the clippy job when clippy lints are triggered

* use caches on travis to speed up builds

* why are we even using `travis-cargo`?

* need to reinstall clippy frequently due to nightly updates

* command line tools are hard
2017-01-31 09:09:37 -08:00
David Tolnay
297f373548
Release 0.9.4 2017-01-30 17:42:11 -08:00
David Tolnay
8624ca6f1d
Release 0.9.3 2017-01-28 15:01:58 -08:00
David Tolnay
c31f76321c
Release 0.9.2 2017-01-28 09:10:39 -08:00
David Tolnay
87040b4bc4
Fix clippy lints in serde_test 2017-01-25 20:42:44 -08:00
David Tolnay
db449c4bf2
Set up clippy for serde_test 2017-01-25 20:38:21 -08:00
David Tolnay
7612fd8e82
Release 0.9.1 2017-01-25 14:58:22 -08:00
David Tolnay
4c77af53e5
Clean up dependency declarations 2017-01-25 14:54:32 -08:00
David Tolnay
5d9c1aeb06
Release 0.9.0 2017-01-25 12:57:45 -08:00
David Tolnay
59e48997dd
Release 0.9.0-rc4 2017-01-25 10:14:43 -08:00
David Tolnay
e0c049dbf2
Remove usize and isize from data model 2017-01-25 09:08:06 -08:00
Oliver Schneider
b105423e5e add travis badge to crates.io 2017-01-24 10:30:10 +01:00
David Tolnay
c334c1c7b5
Release 0.9.0-rc3 2017-01-23 19:14:02 -08:00
David Tolnay
92668d7061
Serialize T by ref 2017-01-23 17:11:18 -08:00