684 Commits

Author SHA1 Message Date
David Tolnay
75312089bd
Format with rustfmt 0.8.2 2018-06-16 19:58:12 -07:00
David Tolnay
9316c31625
Add tests for map with char keys 2018-06-16 19:58:11 -07:00
David Tolnay
60f5c1ae41
Merge pull request #453 from fdionisi/feature/ser-char-map-key
Allow char to be a MapKey
2018-06-16 19:58:04 -07:00
Federico
759d9c49c1 Allow char to be a HashMap key 2018-06-15 21:21:55 +02:00
David Tolnay
c85963c288
Release 1.0.20 v1.0.20 2018-06-06 23:05:07 -07:00
David Tolnay
63facc625b
Merge pull request #451 from lnicola/indexmap
Use IndexMap instead of LinkedHashMap
2018-06-06 23:01:57 -07:00
Laurentiu Nicola
12a24f14b3 Remove old work-around for rustc 1.8 2018-06-07 08:41:38 +03:00
Laurentiu Nicola
08c09ba621 Update Travis configuration to test preserve_order on 1.18 2018-06-07 08:41:14 +03:00
Laurentiu Nicola
1c6d0ef319 Use IndexMap instead of LinkedHashMap 2018-06-06 20:51:57 +03:00
David Tolnay
0cbfb5dba7
Release 1.0.19 v1.0.19 2018-05-30 00:19:58 -07:00
David Tolnay
1d88205338
Release 1.0.18 v1.0.18 2018-05-26 15:29:59 -07:00
David Tolnay
76567827c9
Merge pull request #449 from serde-rs/integer128
Basic support for i128 and u128
2018-05-26 15:28:38 -07:00
David Tolnay
1e64efc65a
Basic support for i128 and u128 2018-05-26 15:20:58 -07:00
David Tolnay
8ffe4d8222
Format with rustfmt 0.7.0 2018-05-26 11:44:13 -07:00
David Tolnay
961a5f018e
Update invalid length error messages for serde 1.0.52 2018-05-09 14:25:22 -07:00
David Tolnay
bbb2d55e7b
Follow clippy unseparated_literal_suffix pedantic lint 2018-05-07 10:20:37 -07:00
David Tolnay
64cfe63ca6
Remove allocation in parsing escape sequences 2018-05-07 10:07:55 -07:00
David Tolnay
e0a350f7c1
Release 1.0.17 v1.0.17 2018-05-01 13:14:51 -07:00
David Tolnay
f6734603e7
Merge pull request #439 from Diggsey/safe-eq
Implement order-independent equality
2018-05-01 13:14:14 -07:00
Diggory Blake
0f110b8896 Use BTreeMap equality implementation when applicable 2018-05-01 17:12:05 +01:00
Diggory Blake
ffcafc9d35 Implement order-independent equality 2018-05-01 17:04:14 +01:00
David Tolnay
ba0efec24b
Format with rustfmt 0.6.0 2018-04-30 01:45:09 -07:00
David Tolnay
5dcf09ddab
Release 1.0.16 v1.0.16 2018-04-21 15:13:27 -07:00
David Tolnay
a59a4f447f
Mark error construction as cold code 2018-04-21 14:14:21 -07:00
David Tolnay
acbc1517b3
Instantiate io::Result::<usize>::map just once
It was previously instantiated with 10 distinct but equivalent closures.
2018-04-20 23:38:41 -07:00
David Tolnay
87233a2d3a
Map Into::into 2018-04-20 23:36:13 -07:00
David Tolnay
dd857e9875
Rename parser's Number to ParserNumber
Two very similar types called Number is confusing.
2018-04-20 23:23:26 -07:00
David Tolnay
52f2f773fa
Reduce visibility of parse_any_signed_number 2018-04-20 23:23:22 -07:00
David Tolnay
18d4146248
Merge pull request #437 from serde-rs/mut
Add values_mut() iterator for serde_json::Map
2018-04-20 23:07:46 -07:00
David Tolnay
ea99b8d919
Merge pull request #436 from serde-rs/num
Drop num-traits dependency
2018-04-20 22:58:53 -07:00
David Tolnay
24f5b95c41
Add values_mut() iterator for serde_json::Map 2018-04-20 22:55:43 -07:00
David Tolnay
49919087e8
Drop num-traits dependency
We do not require a crate to convert u64 to i64. Serde dropped
its num dependency a long time ago.
2018-04-20 22:47:41 -07:00
David Tolnay
7bcb7c7621
Relase 1.0.15 v1.0.15 2018-04-17 11:35:06 -07:00
David Tolnay
ee196dfbab
Fix non-reference pattern for old compilers 2018-04-17 00:29:12 -07:00
David Tolnay
1a9d024e5f
Format with rustfmt 0.4.2 2018-04-17 00:19:50 -07:00
David Tolnay
a66a00b0f6
Struct deserialization from array Value 2018-04-16 22:36:49 -07:00
David Tolnay
aab9ebf788
Implement all &Value deserializer hints 2018-04-16 22:19:21 -07:00
David Tolnay
4357f26801
Implement all Value deserializer hints
This makes the behavior of serde_json::from_value consistent with
serde_json::from_str when dealing with the same Deserialize impls.
2018-04-16 22:18:05 -07:00
David Tolnay
aeed62d5bd
Release 1.0.14 v1.0.14 2018-04-14 20:22:07 -07:00
David Tolnay
4e6387f601
Merge pull request #432 from serde-rs/curl
Get rustup-init with curl to avoid tls failures
2018-03-28 15:37:08 +02:00
David Tolnay
de0efe5825
Get rustup-init with curl to avoid tls failures 2018-03-28 15:16:58 +02:00
David Tolnay
28ea01fbb9
Cleaner Debug representation of Error 2018-03-28 15:08:47 +02:00
David Tolnay
77a8c3af9c
Less eye-catching rustc version badge 2018-03-28 15:01:25 +02:00
David Tolnay
186b79656c
Merge pull request #431 from serde-rs/pos
Disambiguate `pos` meaning both "position" and "positive"
2018-03-28 14:55:08 +02:00
David Tolnay
be29e749d3
Spell out pos -> position 2018-03-28 14:51:42 +02:00
David Tolnay
2dd0b6edce
Spell out pos -> positive 2018-03-28 14:50:24 +02:00
David Tolnay
85afd1a645
Merge pull request #430 from serde-rs/rustc
Rustc version badge
2018-03-28 14:48:14 +02:00
David Tolnay
d1e18286ae
Rustc version badge 2018-03-28 14:45:34 +02:00
David Tolnay
165f3abb78
Clarify guarantees of the arbitrary_precision feature
Arbitrary_precision guarantees that serde_json::Number can represent
numbers of arbitrary size/precision, not that a `String` is used
internally.
2018-03-28 11:54:32 +02:00
David Tolnay
2311fb3e86
Update ui tests for nightly-2018-03-26 2018-03-27 10:35:42 +02:00