504 Commits

Author SHA1 Message Date
David Tolnay
d45ddf76a7
Release 1.0.0 v1.0.0 2017-04-20 08:37:44 -07:00
David Tolnay
62ed6c8aba
Update to serde 1.0 2017-04-20 08:36:34 -07:00
David Tolnay
391821c634
Allow writing to writer by value 2017-04-20 07:54:56 -07:00
David Tolnay
3eb59236ba
Use the conventional "Errors" heading 2017-04-19 19:45:00 -07:00
David Tolnay
1317dfac7d
Add an example of to_value that fails 2017-04-19 19:42:41 -07:00
David Tolnay
af8dc472c1
Less simplistic to_value example 2017-04-19 19:41:29 -07:00
David Tolnay
5f27f02c58
Examples for the deserialization API 2017-04-19 19:19:08 -07:00
David Tolnay
712a2ce26f
Fix copy-paste error in deserializer docs 2017-04-19 19:06:38 -07:00
David Tolnay
6cd51fa971
Example of from_value 2017-04-19 19:04:28 -07:00
David Tolnay
ac8b4fcb70
Remove deserialization from Iterator<Item = io::Result<u8>>
Use `from_reader` instead.
2017-04-19 18:51:17 -07:00
David Tolnay
f61d72de7e
Clarify ambiguous imports
It was confusing whether ser:: and de:: referred to serde:: or serde_json::.
2017-04-19 17:16:14 -07:00
David Tolnay
f52955d879
Allow borrowing from &Value 2017-04-19 17:00:58 -07:00
David Tolnay
e729991fda
Cargo fmt the error conversions 2017-04-19 15:44:29 -07:00
David Tolnay
17652c95ac
Hide the conversion from io::Error to Error 2017-04-19 15:41:31 -07:00
David Tolnay
3168494d20
Remove unused ErrorImpl conversion 2017-04-19 15:29:35 -07:00
David Tolnay
ceff320ddb
Remove extremely old error conversion 2017-04-19 15:28:44 -07:00
David Tolnay
e05a8fa752
Map type hyperlinks 2017-04-19 15:17:03 -07:00
David Tolnay
4595e1a7bd
Format in rfc style 2017-04-18 14:29:29 -07:00
David Tolnay
64bd06cd50
The serde 1.0 branch merged 2017-04-18 14:12:38 -07:00
David Tolnay
630983fb4d
Merge branch 'origin/1.0' into 'origin/master' 2017-04-18 14:04:10 -07:00
David Tolnay
1a41994b68
Keep up with serde 1.0 branch 2017-04-17 16:27:22 -07:00
David Tolnay
b929fcbe7e
Organize top links 2017-04-16 20:45:49 -07:00
David Tolnay
8797e77ffc
License boilerplate 2017-04-13 18:14:30 -07:00
David Tolnay
2878ed3d85
Point html_root_url to docs.rs 2017-04-13 11:29:15 -07:00
David Tolnay
8dedeeaec0
Fix path to readme file 2017-04-13 10:36:43 -07:00
David Tolnay
7fa495258c
Add appveyor badge to crates.io 2017-04-13 10:27:03 -07:00
David Tolnay
04ac2f2555
Merge branch 'origin/master' into 'origin/1.0' 2017-04-13 10:14:11 -07:00
David Tolnay
1debc31225
Add playground links to readme 2017-04-13 10:09:19 -07:00
David Tolnay
c3ef23824a Merge pull request #303 from serde-rs/offset
Expose number of bytes processed by StreamDeserializer
2017-04-13 09:33:42 -07:00
David Tolnay
4e44e6c73d
Test byte offsets of stream 2017-04-13 09:27:23 -07:00
David Tolnay
0d3fd8b0be
Run the existing tests against every type of stream 2017-04-13 09:18:49 -07:00
David Tolnay
fb9827e0e9
Move stream tests to their own file 2017-04-13 09:05:24 -07:00
David Tolnay
3206ea3822
Add a note about skipping over valid JSON 2017-04-13 09:01:08 -07:00
David Tolnay
b2e3c3ce67
Expose number of bytes processed by StreamDeserializer 2017-04-12 10:09:04 -07:00
David Tolnay
a22a06f74f
Rename ValueDeserializer trait to IntoDeserializer 2017-04-12 09:02:11 -07:00
David Tolnay
95ac905221
Examples for all the conversion methods 2017-04-11 23:10:18 -07:00
David Tolnay
0338c0e738
Test and document preserve_order feature 2017-04-11 21:40:57 -07:00
David Tolnay
c1f0248326 Merge pull request #302 from serde-rs/combine
Combine serde_json and tests into one crate
2017-04-11 21:28:43 -07:00
David Tolnay
e11f3d11ed
Combine serde_json and tests into one crate 2017-04-11 21:16:48 -07:00
David Tolnay
d37fc6cc7e
Use the recommended default rustfmt style 2017-04-11 20:55:44 -07:00
David Tolnay
0dff1e991c
Clean up some rustdoc example code 2017-04-11 18:02:05 -07:00
David Tolnay
d9b7da9709
Merge branch 'origin/master' into 'origin/1.0' 2017-04-11 17:48:47 -07:00
David Tolnay
ac1e28fe98
Expand the readme examples into real code 2017-04-11 17:47:41 -07:00
David Tolnay
0eca1ad3ed Merge pull request #301 from serde-rs/stream
Require array or object in StreamDeserializer
2017-04-11 16:37:51 -07:00
David Tolnay
bad0a48362
Require array or object in StreamDeserializer 2017-04-11 16:20:05 -07:00
David Tolnay
565e692caf
More informative parse_whitespace method 2017-04-11 16:02:28 -07:00
David Tolnay
df8204aad0 Merge pull request #299 from serde-rs/ioerr
Return io::Error from formatter methods
2017-04-11 15:19:54 -07:00
David Tolnay
9d96a3369c
Return io::Error from formatter methods 2017-04-11 14:56:13 -07:00
David Tolnay
6694242838 Merge pull request #297 from serde-rs/fragment
Pass &str to write_string_fragment
2017-04-11 14:28:00 -07:00
David Tolnay
ecdc3d5ab1
Pass &str to write_string_fragment 2017-04-11 14:14:03 -07:00