David Tolnay
31cec05712
Access traits
2017-04-14 12:24:35 -07:00
David Tolnay
3f920f645c
License boilerplate
2017-04-13 17:34:42 -07:00
David Tolnay
ea8fb97beb
Format in rfc style
2017-04-13 12:32:29 -07:00
David Tolnay
dc7ab2696a
Point html_root_url to docs.rs
2017-04-13 11:31:29 -07:00
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
David Tolnay
1e05fc2145
Release 0.9.0-rc2
2017-01-21 16:30:13 -08:00
David Tolnay
a4126e4c5a
Errors
2017-01-21 09:13:01 -08:00
David Tolnay
5ecfb3b388
Update serde_test to use seeds
2017-01-19 01:24:33 -08:00
Oliver Schneider
b26f291d93
add missing Vec<u8>
deserialization hint to Deserializer
2017-01-16 16:55:13 +01:00
David Tolnay
3a52364f3e
Release 0.9.0-rc1
2017-01-15 09:26:44 -08:00
David Tolnay
4d1627fc96
Merge pull request #687 from serde-rs/ser
...
Enforce correct use of Serialize trait
2017-01-15 09:22:30 -08:00
David Tolnay
4b06030666
Unabbreviated method naming
2017-01-14 21:39:37 -08:00
David Tolnay
04f25eb122
Update serde_test for Serializer changes
2017-01-14 16:07:17 -08:00
David Tolnay
7372f152bd
Update serde_test for Deserializer changes
2017-01-14 13:42:45 -08:00
David Tolnay
88debb3fb8
Remove SeqVisitor::end() and MapVisitor::end()
2017-01-13 13:34:38 -08:00
Oliver Schneider
5b668ed87a
attempt to test the field names, but deem it too complex and opt to at least improve the code
2017-01-12 20:17:55 +01:00
David Tolnay
8242c64152
Merge branch v0.8 into master
2017-01-10 17:16:31 -08:00
David Tolnay
9e45bd8c87
Release 0.8.22
2017-01-10 17:10:26 -08:00
David Tolnay
eb6fb1d40e
Merge pull request #523 from serde-rs/enum
...
Enum deserialization API
2017-01-08 00:45:50 -08:00
David Tolnay
bf873a7b3f
Merge branch origin/master into origin/enum
...
Conflicts:
serde/src/de/mod.rs
serde_codegen/src/de.rs
testing/tests/test_bytes.rs
2017-01-08 00:31:07 -08:00
David Tolnay
fbd4a17467
Merge pull request #664 from serde-rs/visitor-value
...
Remove the Deserialize trait bound on Visitor::Value
2017-01-08 00:24:53 -08:00
David Tolnay
ad34c14c8c
Prepare for 0.9 breaking changes
2017-01-08 00:18:53 -08:00
David Tolnay
7a0e8f73b4
Remove the Deserialize trait bound on Visitor::Value
2017-01-03 01:50:10 -08:00
David Tolnay
9338c4f1b9
Release 0.8.21
2016-12-24 13:10:24 -05:00
David Tolnay
08c59a2e0e
Release 0.8.20
2016-12-16 07:58:52 -08:00
David Tolnay
36641e7b81
Release 0.8.19
2016-11-23 09:14:03 -08:00
David Tolnay
17fb4cb503
Release 0.8.18
2016-11-19 11:40:00 -08:00
David Tolnay
c91fca19e1
Release 0.8.17
2016-11-02 09:26:04 -07:00
David Tolnay
c9612a2f57
Release 0.8.16
2016-10-22 00:07:27 -07:00
David Tolnay
9acb17ab54
Release 0.8.15
2016-10-20 08:42:40 -07:00
David Tolnay
1b42f3f594
Release 0.8.14
2016-10-18 21:42:39 -07:00
David Tolnay
532b950971
Release 0.8.13
2016-10-16 10:34:26 -07:00
David Tolnay
85c95040b3
Release 0.8.12
2016-10-08 15:38:29 -07:00
David Tolnay
c61b20cceb
Release 0.8.11
2016-10-03 13:38:52 -07:00
David Tolnay
2a2c098eeb
Release 0.8.10
2016-09-28 09:56:15 -07:00
Oliver Schneider
429de89276
Release 0.8.9
2016-09-23 07:11:59 -07:00
David Tolnay
7cc36a9cd3
Release 0.8.8
2016-09-08 08:34:20 -07:00
David Tolnay
e85ca8411e
Release 0.8.7
2016-09-05 09:39:27 -07:00
David Tolnay
248d937f9a
Release 0.8.6
2016-09-01 22:06:27 -07:00
David Tolnay
4bb9279074
Bump syntex to 0.43
2016-08-31 12:53:27 -07:00
David Tolnay
85f1bf0259
Enum deserialization API
2016-08-23 22:17:28 -04:00
David Tolnay
d690ffda8d
Release 0.8.4
2016-08-22 11:37:53 -04:00
David Tolnay
5fb73073bd
Release 0.8.3
2016-08-19 13:11:59 -04:00
David Tolnay
2d99a50c27
HTTPS for serde.rs
2016-08-18 17:08:05 -04:00
David Tolnay
1796536962
Update syntex to 0.41
2016-08-18 14:33:14 -04:00
David Tolnay
0557a7feac
Point links to docs.serde.rs
2016-08-13 15:01:57 -07:00
David Tolnay
85864e6ccb
Bump remaining versions to 0.8.1
2016-08-11 09:16:29 -07:00
Oliver Schneider
b7446db511
reintroduce path dependencies
2016-08-11 11:02:19 +02:00
David Tolnay
f12f640590
Release 0.8.0
2016-07-27 22:07:57 -07:00
Steven Fackler
ea833d3427
Split serialize_map_elt
...
Like what's been done on the deserialization side with MapVisitor, this
allows some weirder uses of Serde to handle the key and value in
separate steps.
2016-07-27 12:12:07 -07:00
David Tolnay
78e74886be
Update syntex to 0.39
2016-07-26 09:22:33 -07:00
David Tolnay
e36f33589c
Release 0.8.0-rc3
2016-07-23 15:13:19 -07:00
Oliver Schneider
124bacd871
fix for 1.8, 1.9 and stable
2016-07-21 10:11:04 +02:00
Oliver Schneider
4280dd466d
rename deserialize_fixed_size_array to deserialize_seq_fixed_size
2016-07-20 19:20:31 +02:00
Oliver Schneider
36a7bf6244
make Deserializer
pure
2016-07-20 10:26:31 +02:00
David Tolnay
aaca4f06c6
Release 0.8.0-rc2
2016-07-17 18:07:40 -07:00
David Tolnay
6fe01bc8e3
Release 0.8.0-rc1
...
This prerelease contains the Serializer API changes intended for 0.8.0. It
allows us to start merging PRs that use the new API.
2016-07-17 11:46:03 -07:00
David Tolnay
855f3d99bb
Do not release any more 0.7 releases from master
2016-07-15 17:00:09 -07:00
Oliver Schneider
42c41922ce
adjust tests for new interface
2016-07-15 12:59:30 +02:00
Oliver Schneider
984181c558
Merge remote-tracking branch 'serde/master' into map_seq_ser
2016-07-15 10:59:46 +02:00
David Tolnay
7220029055
Use cargo override instead of relative paths
...
This makes it possible to use `cargo clone` + `cargo build`.
2016-07-15 01:17:23 -07:00
Oliver Schneider
16ba32dbe1
stateful map/seq serialization
2016-07-14 15:36:47 +02:00
Oliver Schneider
6adcaa55e5
json needs more info
2016-07-12 16:53:20 +02:00
Oliver Schneider
fb575225bc
simplify!
2016-07-12 16:16:48 +02:00
Oliver Schneider
3766633f4a
adjust codegen to work with the revamped map/seq serializer
2016-07-12 15:44:19 +02:00
David Tolnay
a070de28e2
Update syntex to 0.38
2016-07-09 11:37:01 -07:00
David Tolnay
97bc1e08e7
Release 0.7.13
2016-07-05 20:06:10 -07:00
David Tolnay
d450de1482
Update syntex to 0.37
2016-07-02 20:20:44 -07:00
David Tolnay
f531be1524
Turn comments into doc comments
2016-06-29 00:58:33 -07:00
David Tolnay
10b1508d4a
Sync serde_test version with the other crates
2016-06-29 00:17:50 -07:00
David Tolnay
041d5c0842
Make serde_test asserts more consistent
2016-06-28 23:50:19 -07:00
David Tolnay
8e87926bc2
Round out the Error variants
2016-06-28 22:57:53 -07:00
David Tolnay
cfc2f9adc0
Remove Error from name of Error variants
2016-06-28 22:49:13 -07:00
David Tolnay
00f94290a6
Add message to CustomError
2016-06-28 22:36:29 -07:00
David Tolnay
093201abfb
Assert tokens are empty after reaching error
2016-06-28 22:23:38 -07:00
David Tolnay
6d64104375
Factor the Token De/Serializer into serde_test
2016-06-28 21:54:51 -07:00