Commit Graph

325 Commits

Author SHA1 Message Date
David Tolnay
9956589ed5
Release 1.0.79 2018-09-15 14:40:38 -07:00
David Tolnay
66a9ccb10e
Ignore renamed_and_removed_lints lint
The recommended replacement involving clippy::all has not been
stabilized yet.
2018-09-11 23:05:33 -07:00
David Tolnay
7b50388fef
Release 1.0.78 2018-09-08 17:10:41 -07:00
David Tolnay
108cca687c
Release 1.0.77 2018-09-06 21:36:27 -07:00
David Tolnay
55cecace29
Release 1.0.76 2018-09-01 15:25:53 -07:00
David Tolnay
2aab0ce2f6
Release 1.0.75 2018-08-24 23:03:04 -04:00
David Tolnay
cfdbbee845
Release 1.0.74 2018-08-23 18:29:16 -04:00
David Tolnay
db6aaf5110
Release 1.0.73 2018-08-22 21:47:15 -04:00
David Tolnay
60cbbacdb3
Release 1.0.72 2018-08-20 21:02:03 -04:00
David Tolnay
cbfdba3826
Use rustfmt to wrap and format comments 2018-08-14 22:32:27 -07:00
David Tolnay
a065db9838
Add AppVeyor badge to rest of crates 2018-08-07 00:15:12 -07:00
David Tolnay
24c4df7831
Release 1.0.71 2018-08-06 23:55:55 -07:00
David Tolnay
4e54aaf796
Format with rustfmt 0.8.2 2018-07-08 19:02:44 -07:00
David Tolnay
4cddcbe194
Release 1.0.70 2018-07-06 20:21:26 -07:00
David Tolnay
3bcd568c86
Release 1.0.69 2018-06-30 23:40:28 -07:00
David Tolnay
a916aa9420
Release 1.0.68 2018-06-28 09:31:12 -07:00
David Tolnay
ce17301b8b
Release 1.0.67 2018-06-27 00:18:03 -07:00
David Tolnay
a887db398b
Release 1.0.66 2018-06-03 11:45:20 -07:00
David Tolnay
2db2b53bbf
Release 1.0.65 2018-06-01 13:00:58 -07:00
David Tolnay
dbaf2893e3
Release 1.0.64 2018-05-30 00:17:45 -07:00
David Tolnay
1b6fbf1023
Release 1.0.63 2018-05-28 20:12:08 -07:00
David Tolnay
c50c9d8862
Simplify readme as rendered on crates.io 2018-05-27 19:18:30 -07:00
David Tolnay
983bf8c090
Release 1.0.62 2018-05-26 18:59:03 -07:00
David Tolnay
7407d71417
Release 1.0.61 2018-05-26 10:38:18 -07:00
David Tolnay
ad47bd132b
Specify serde version required by serde_test 2018-05-26 09:42:31 -07:00
David Tolnay
1385aac208
Release 1.0.60 2018-05-25 16:05:01 -07:00
David Tolnay
b279ebb244
Merge pull request #1263 from serde-rs/integer128
Add Serde impls for i128 and u128
2018-05-25 16:03:08 -07:00
David Tolnay
4de20bd48d
Release 1.0.59 2018-05-21 03:51:32 -07:00
David Tolnay
c17bc6c49c
Add 128-bit deserialization in serde_test 2018-05-20 22:17:35 -07:00
David Tolnay
4fa2a50f62
Format with rustfmt 0.7.0 2018-05-19 17:33:30 -07:00
David Tolnay
0c5f20c148
Release 1.0.58 2018-05-19 17:30:39 -07:00
David Tolnay
3b4803115b
Release 1.0.57 2018-05-18 23:31:33 -07:00
David Tolnay
f58000cb41
Release 1.0.56 2018-05-18 12:37:06 -07:00
David Tolnay
6550231a51
Release 1.0.55 2018-05-12 09:47:43 -07:00
David Tolnay
d6b62b9417
Release 1.0.54 2018-05-11 23:02:37 -07:00
David Tolnay
d1460e1f0d
Release 1.0.53 2018-05-10 08:44:53 -07:00
David Tolnay
f9c6f0ab62
Release 1.0.52 2018-05-09 13:01:41 -07:00
David Tolnay
b4076f4577
Release 1.0.51 2018-05-08 10:07:45 -07:00
David Tolnay
7cd4f49c76
Release 1.0.50 2018-05-07 13:51:32 -07:00
David Tolnay
536bdd77a0
Release 1.0.49 2018-05-07 11:51:15 -07:00
David Tolnay
30824e9f61
Release 1.0.48 2018-05-07 10:22:26 -07:00
David Tolnay
9dc05c36f0
Release 1.0.47 2018-05-06 21:39:21 -07:00
David Tolnay
5098609935
Release 1.0.46 2018-05-06 13:44:55 -07:00
David Tolnay
40479336c1
Format serde_test doc where-clauses in the style of rustfmt 2018-05-05 18:20:26 -07:00
David Tolnay
97eff8e875
Format with rustfmt 0.6.1 2018-05-05 00:56:12 -07:00
David Tolnay
3f0d3453d8
Release 1.0.45 2018-05-02 15:18:17 -07:00
David Tolnay
893c0578dd
Release 1.0.44 2018-05-01 22:34:27 -07:00
David Tolnay
89278996c5
Release 1.0.43 2018-04-23 11:23:58 -07:00
David Tolnay
af795e2e54
Release 1.0.42 2018-04-21 15:16:10 -07:00
David Tolnay
382f3c2771
Release 1.0.41 2018-04-19 22:13:45 -07:00
David Tolnay
541f9180cf
Release 1.0.40 2018-04-19 10:31:33 -07:00
David Tolnay
184264ee92
Release 1.0.39 2018-04-17 11:35:45 -07:00
David Tolnay
9bc05803fe
Fix clippy lint about literal in format string 2018-04-15 22:07:47 -07:00
David Tolnay
8d113e67d6
Release 1.0.38 2018-04-14 20:30:18 -07:00
David Tolnay
9f38ca032e
Format with rustfmt 0.4.1 2018-04-12 23:04:47 -07:00
David Tolnay
eed18ffab2
Release 1.0.37 2018-04-01 22:30:32 -07:00
David Tolnay
7c04c98e0e
Release 1.0.36 2018-03-27 11:35:45 +02:00
David Tolnay
23e2e92237
Release 1.0.35 2018-03-25 12:59:02 +02:00
David Tolnay
2b18b57d84
Release 1.0.34 2018-03-22 15:06:21 -07:00
David Tolnay
7ad836e6a9
Release 1.0.33 2018-03-15 10:03:42 -07:00
David Tolnay
23c6eb3b40
Release 1.0.32 2018-03-13 11:31:26 -07:00
David Tolnay
b8c9a66d75
Release 1.0.31 2018-03-13 10:18:35 -07:00
David Tolnay
69dd3215f4
Release 1.0.30 2018-03-12 11:44:50 -07:00
David Tolnay
0d4d47c398
Release 1.0.29 2018-03-09 00:24:08 -08:00
David Tolnay
3f75239bfb
Release 1.0.28 2018-03-08 11:39:32 -08:00
David Tolnay
d6f07f2f47
Ignore redundant_field_names lint 2018-02-27 11:13:26 -08:00
Martin Lindhe
ae0373643c fix some typos 2018-01-03 15:16:45 +01:00
David Tolnay
7aeabddd2f
Release 1.0.27 2017-12-30 22:19:41 -05:00
David Tolnay
9cfcd78c87
Release 1.0.26 2017-12-27 17:33:32 -05:00
David Tolnay
ae59c6b6d2
Release 1.0.25 2017-12-23 23:33:59 -05:00
David Tolnay
ee75e6c0e9
Format with rustfmt-nightly 0.3.4 2017-12-23 20:17:52 -08:00
David Tolnay
56d5d7f761
Rename deserialize_from to deserialize_in_place 2017-12-17 10:46:44 -08:00
David Tolnay
0c2e91f28a
Merge branch serde-rs/master into Gankro/deserialize_from 2017-12-11 20:49:23 -08:00
David Tolnay
a45f1ae915
Remove unused dev-dependency of serde_test on deserialize_from 2017-12-10 22:02:11 -08:00
David Tolnay
b7eb42aa6b
Release 1.0.24 2017-12-09 14:43:55 -08:00
David Tolnay
750f8ba299
Clean up trailing whitespace 2017-12-09 14:42:59 -08:00
Alexis Beingessner
34936be574 test deserialize_from 2017-12-04 13:29:03 -05:00
David Tolnay
8c34e0940f
Release 1.0.23 2017-11-29 22:26:32 -08:00
David Tolnay
eb6bf16a51
Revert "Catch wrong field names length in serde_test"
There are at least two reasonable things to expect the len field to
check: the length of the fields array passed to deserialize_struct, or
the number of field tokens. Even beyond these, in some cases it can be
useful to test deserialization with a bogus len to test how the
Deserialize impl reacts to an incorrect size_hint.

This reverts commit 436cafb0a3 which was
released in serde_test 1.0.20.
2017-11-29 22:21:05 -08:00
David Tolnay
797d049db5
Release 1.0.22 2017-11-29 20:01:43 -08:00
David Tolnay
f218f4d7bf
Release 1.0.21 2017-11-15 22:24:18 -08:00
David Tolnay
4773863e3a
Release 1.0.20 2017-11-12 10:29:08 -08:00
David Tolnay
436cafb0a3
Catch wrong field names length in serde_test 2017-11-12 10:16:43 -08:00
David Tolnay
98bb02e9b4
Whitelist use of Debug in serde_test 2017-11-07 10:00:18 -08:00
David Tolnay
142439088c
Merge pull request #1086 from Marwes/better_errors
Print the contents of the expected token when a serialize assert fails
2017-11-07 09:53:58 -08:00
Markus Westerlind
ce81288235 Print the contents of the expected token when a serialize assert fails
Before
```
expected Token::Str but serialized as Str(“F9168C5E-CEB2-4FAA-B6BF-329BF39FA1E4")
```
After
```
expected Token::Str(“f9168c5e-ceb2-4faa-b6bf-329bf39fa1e4”) but serialized as Str(“F9168C5E-CEB2-4FAA-B6BF-329BF39FA1E4")
```
2017-11-07 14:22:42 +01:00
David Tolnay
88d5fe6bfd
Release 1.0.19 2017-11-06 23:50:24 -08:00
David Tolnay
9a2c352025
Rephrase serde_test::Configure documentation 2017-11-06 23:47:39 -08:00
David Tolnay
61c90cb8cb
Fix typo in serde_test::Configure documentation 2017-11-06 23:45:26 -08:00
David Tolnay
501bae42f5
Fix space in serde_test panic message
Without this, the message contains "representationsmust".
2017-11-06 22:46:28 -08:00
David Tolnay
7a0397451e
Allow serde_test::Configure to be dynamically sized
This is a more cautious choice for the trait. In the future we may need
a `whatever_ref(&self)` that works for !Sized types.
2017-11-06 22:40:09 -08:00
David Tolnay
16787318d1
Enable clippy_pedantic in serde_test 2017-11-06 22:31:35 -08:00
David Tolnay
f4ae0888c8
Run clippy on serde_test in Travis 2017-11-06 22:28:58 -08:00
David Tolnay
213071fe5c
Combine identical match arms in serde_test
As recommended by Clippy's match_same_arms lint.
2017-11-06 22:27:51 -08:00
David Tolnay
cfd26c6fda
Avoid cloning Copy types
As recommended by Clippy's clone_on_copy lint.
2017-11-06 22:26:55 -08:00
David Tolnay
23fa83941e
Whitelist float_cmp lint in serde_test 2017-11-06 22:26:01 -08:00
David Tolnay
88f5b9511d
Use .. in patterns
As recommended by Clippy's unneeded_field_pattern lint.
2017-11-06 22:24:25 -08:00
David Tolnay
f6ac232580
Merge pull request #1084 from Marwes/serde_test_readable_
Add an API for making tests for readable/compact representations
2017-11-06 22:05:29 -08:00
Markus Westerlind
aad7a7987f Add an example to the Configure trait 2017-11-06 10:35:22 +01:00
Konrad Borowski
5796f1a0f5 serde_test requires serde 1.0.16 to work
This is due to implementing is_human_readable which was
added in serde 1.0.16.
2017-11-05 23:51:01 +01:00