Commit Graph

1254 Commits

Author SHA1 Message Date
David Tolnay
c4b5a42615
Serialize and Deserialize for std::time::Duration 2016-08-03 19:33:31 -07:00
David Tolnay
d0502b93ef
Fix clippy lint about looping over iter() 2016-08-03 19:32:51 -07:00
David Tolnay
b289edd4a4 Merge pull request #475 from serde-rs/skeptic
use skeptic to test the readme and fix readme for 0.8
2016-08-03 07:49:30 -07:00
Oliver Schneider
3a687e5369
fix untestable docs 2016-08-03 16:04:11 +02:00
Oliver Schneider
8c30ec9698
fix doc bugs found by skeptic 2016-08-03 16:00:30 +02:00
Oliver Schneider
e40b9e9814
fix skeptic 2016-08-03 16:00:20 +02:00
Erick Tryzelaar
22d0bdae8a
tests(readme): Use skeptic to test the readme 2016-08-03 15:44:47 +02:00
David Tolnay
84fa3fba58
Fix feature name in serde-syntex-example readme 2016-07-31 15:47:46 -07:00
Oliver Schneider
85001608e0 Merge pull request #473 from serde-rs/docs
Generate docs from 'docs' branch instead of master
2016-07-31 12:04:12 +02:00
David Tolnay
09fe2dbba5
Generate docs from 'docs' branch instead of master 2016-07-30 16:45:47 -07:00
Oliver Schneider
b6ed82dd7d Merge pull request #472 from serde-rs/exact
Use exact dependencies on other serde crates
2016-07-30 21:12:20 +02:00
David Tolnay
5bbeedadf2
Constrain only the two important dependencies 2016-07-30 08:43:33 -07:00
David Tolnay
d786de6696 Use exact dependencies on other serde crates 2016-07-29 15:12:54 -07:00
David Tolnay
5d24d6cfb4 Merge pull request #471 from serde-rs/example
Re-enable serde-syntex-example build in Travis
2016-07-29 10:06:20 -07:00
David Tolnay
c8c22c036f
Re-enable serde-syntex-example build in Travis 2016-07-29 09:53:44 -07:00
David Tolnay
b7f30d7f82
Use build() instead of unwrap() for the Builders
Fixes #429.
2016-07-29 09:48:55 -07:00
David Tolnay
4bf5a15d7e Merge pull request #469 from killercup/patch-1
Set explicit versions in Readme
2016-07-28 05:23:56 -07:00
Pascal Hertleif
f394f25956 Set explicit versions in Readme 2016-07-28 10:34:55 +02:00
David Tolnay
9d96f95ddd
Remove old upgrading tips 2016-07-27 23:51:48 -07:00
David Tolnay
f12f640590
Release 0.8.0 2016-07-27 22:07:57 -07:00
David Tolnay
d02e959b3f Merge pull request #468 from sfackler/split-map
Split serialize_map_elt
2016-07-27 12:50:42 -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
Oliver Schneider
061a1d8a8c Merge pull request #465 from serde-rs/underscore
Remove underscore from parameter names in deserializer traits
2016-07-26 08:25:15 +02:00
David Tolnay
de9fd3b04e
Remove underscore from parameter names in deserializer traits
This makes the generated rustdoc easier to read.
2016-07-25 20:18:45 -07:00
David Tolnay
e36f33589c
Release 0.8.0-rc3 2016-07-23 15:13:19 -07:00
Homu
a892a13473 Auto merge of #462 - jimmycuadra:ser-error-docstring, r=oli-obk
Fix typos in docstring of ser::Error.

Just a minor documentation fix for grammar and and a copy/paste error.
2016-07-23 17:07:46 +09:00
Jimmy Cuadra
556d5bdc27 Fix typos in docstring of ser::Error. 2016-07-23 00:56:55 -07:00
Homu
c6acec29e5 Auto merge of #459 - serde-rs:phantom, r=oli-obk
PhantomData<T> does not require bounds on T
2016-07-23 01:43:45 +09:00
David Tolnay
dce02c624b Merge pull request #460 from serde-rs/revert
Revert "Mention Empty Bounds for Recursion in Readme"
2016-07-22 09:13:53 -07:00
David Tolnay
77e56613a5
Revert "Mention Empty Bounds for Recursion in Readme"
This reverts commit 93968455f3.
2016-07-22 09:09:23 -07:00
David Tolnay
3b7fa47b2e
PhantomData<T> does not require bounds on T 2016-07-22 09:05:43 -07:00
David Tolnay
f5fd7f5950 Merge pull request #458 from serde-rs/testgen
Add tests for concrete instantiations in test_gen
2016-07-22 09:04:33 -07:00
David Tolnay
fb6fc4e19f
Add tests for concrete instantiations in test_gen 2016-07-22 08:49:51 -07:00
David Tolnay
85772726ee Merge pull request #456 from serde-rs/generic
Generate bounds on type parameters only
2016-07-22 07:58:56 -07:00
Oliver Schneider
f05ba9fdf2
unhygienize the generic parameter comparison
include! completely messes up the identifiers' expansion info
2016-07-22 14:09:14 +02:00
Homu
2e829ae4e6 Auto merge of #457 - serde-rs:phantom, r=oli-obk
Impl Deserialize for PhantomData<T> for all T
2016-07-22 16:31:51 +09:00
David Tolnay
25a5dd1579
Impl Deserialize for PhantomData<T> for all T 2016-07-21 23:22:38 -07:00
David Tolnay
1831b471f9
Generate bounds on type parameters only 2016-07-21 23:06:18 -07:00
Oliver Schneider
49ff56aa15 Merge pull request #452 from oli-obk/pure_interface
Pure interface for Deserializer
2016-07-21 11:25:16 +02:00
Oliver Schneider
89549e2567
fix nightly 2016-07-21 10:49:02 +02: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
65eb116a85
address comments 2016-07-20 19:18:45 +02:00
Homu
e15940f355 Auto merge of #454 - nox:boxed, r=oli-obk
Implement Deserialize for Box<str>
2016-07-20 19:49:11 +09:00
Anthony Ramine
68440952ab Implement Deserialize for Box<str> 2016-07-20 12:47:08 +02:00
Oliver Schneider
d751b4c39a Merge pull request #451 from killercup/doc/recursive-bounds
Mention Empty Bounds for Recursion in Readme
2016-07-20 10:43:54 +02:00
Oliver Schneider
d10a69b243
document some hints for defaults 2016-07-20 10:42:14 +02:00
Pascal Hertleif
1a1b6fbf85 Fix Typo in Readme 2016-07-20 10:39:57 +02:00
Pascal Hertleif
93968455f3 Mention Empty Bounds for Recursion in Readme
Fixes #427
2016-07-20 10:39:57 +02:00