674 Commits

Author SHA1 Message Date
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
David Tolnay
8083972ac2
Merge pull request #429 from serde-rs/rustfmt
Format with rustfmt 0.4.1
2018-03-27 10:35:04 +02:00
David Tolnay
654e6e8349
Format with rustfmt 0.4.1 2018-03-27 10:24:10 +02:00
David Tolnay
f4e06d1d86
Link to serde-json-core crate 2018-03-24 19:48:55 +01:00
David Tolnay
415dead816
Merge pull request #426 from mtn/exp_pos
Replace instances of "exp_pos" with "exp_positive"
2018-03-21 12:16:33 -07:00
David Tolnay
8c5d5e45d4
Release 1.0.13 v1.0.13 2018-03-21 12:11:17 -07:00
Alexander Regueiro
31bba4b5a1 Arbitrary-precision numerics support (#416)
Added support for arbitrary-precision numerics, in a similar way that the toml crate does for date-times (using an internal special struct).
2018-03-21 12:09:36 -07:00
Michael Noronha
467f755ec9
Replace instances of "exp_pos" with "exp_positive" 2018-03-20 12:23:28 -04:00
Oliver Schneider
21d623d7bb
Merge pull request #425 from mtn/positive_patch
Replace relevant instance of "pos" with "positive"
2018-03-20 08:25:41 +01:00
Michael Noronha
9f540bbf8e
Replace relevant instance of "pos" with "positive"
Addresses issue #420
2018-03-19 22:07:18 -04:00
David Tolnay
cc8e0b5dce
Release 1.0.12 v1.0.12 2018-03-18 22:36:54 -07:00