528 Commits

Author SHA1 Message Date
David Tolnay
4e33d77b71
Release 1.0.2 v1.0.2 2017-05-08 16:11:11 -07:00
David Tolnay
40767683b1
Take credit 2017-05-08 16:11:03 -07:00
David Tolnay
dc85d44a94 Merge pull request #314 from Rufflewind/t313
Reduce visitor-dependence in number parsers
2017-05-08 16:07:57 -07:00
Phil Ruffwind
2b68532e9d Fully factor out visitor dependence in number parser
This requires making an enum (Number) to hold the three possible types
of visiting arguments.
2017-05-03 05:16:05 -04:00
Phil Ruffwind
476e753db8 Reduce visitor-dependence in number parsers
All these functions end up calling visit_f64 so rewriting these
functions to avoid dependence on the visitor type V is a no-brainer:

  - parse_long_integer
  - parse_decimal
  - parse_exponent
  - parse_exponent_overflow
  - visit_f64_from_parts
2017-05-03 02:23:41 -04:00
David Tolnay
8202c68c0a
Release 1.0.1 v1.0.1 2017-04-27 17:10:58 -07:00
David Tolnay
6b17c363b9
No need for pub use in private module 2017-04-27 17:09:18 -07:00
David Tolnay
5df9d32be8
Add license info to value files 2017-04-27 17:02:21 -07:00
David Tolnay
1d445facde
Index got lost in the grand value division 2017-04-27 16:42:24 -07:00
David Tolnay
9bf6f16425 Merge pull request #311 from serde-rs/int
Allow integers to be used as map keys again
2017-04-27 16:27:25 -07:00
David Tolnay
9231ffd19e
Add test for borrowed map key 2017-04-27 15:49:22 -07:00
David Tolnay
4cc9d87832
Treat non-integer key as a type error 2017-04-27 15:49:09 -07:00
David Tolnay
83e3ec0a45
Allow integers to be used as map keys again 2017-04-27 12:56:43 -07:00
David Tolnay
8e48fa0fb2
Remove an unreachable branch 2017-04-25 11:36:37 -07:00
David Tolnay
d78575d6c6 Merge pull request #306 from serde-rs/entry
Use the new linked-hash-map entry API
2017-04-21 15:39:52 -07:00
David Tolnay
c5cd928ddc
Use the new linked-hash-map entry API 2017-04-21 15:27:00 -07:00
David Tolnay
b46f43c4b9 Merge pull request #307 from killercup/feature/split-value-into-pieces
Split value into pieces
2017-04-21 13:24:46 -07:00
Pascal Hertleif
085af20882 Grand value division: value::de 2017-04-21 21:50:08 +02:00
Pascal Hertleif
af55b82f26 Grand value division: value::ser 2017-04-21 21:50:07 +02:00
Pascal Hertleif
3c439cfb52 Grand value division: value::from 2017-04-21 21:50:05 +02:00
Pascal Hertleif
f7d7a645c7 Grand value division: value::partial_eq 2017-04-21 21:50:03 +02:00
Pascal Hertleif
3cc1a44a10 Grand value division: value::index 2017-04-21 21:50:02 +02:00
Pascal Hertleif
39d55e7525 Move Value into its own mod 2017-04-21 21:49:47 +02:00
David Tolnay
16f6bc0be9
New version number in readme 2017-04-20 22:03:38 -07:00
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