Commit Graph

796 Commits

Author SHA1 Message Date
Jeffrey Griffin
d34b8026d1 require serde/alloc but not serde/std 2019-02-23 16:04:36 -08:00
David Tolnay
2181bce921
Release 1.0.38 2019-01-31 18:20:37 -08:00
David Tolnay
dc6edcbadd
Merge pull request #509 from dtolnay/stacker
Unbounded depth
2019-01-31 18:20:01 -08:00
David Tolnay
493bad102f
Release 1.0.37 2019-01-23 01:33:14 -08:00
David Tolnay
6468692902
Work around erased-serde round-tripping through de::Error::custom 2019-01-23 01:31:12 -08:00
David Tolnay
fa8e2b1e0c
Release 1.0.36 2019-01-16 14:03:42 -08:00
David Tolnay
dd887ed30f
Merge pull request #512 from dtolnay/128key
Quotes around u128 in map key
2019-01-16 14:03:10 -08:00
David Tolnay
7e4427c781
Quotes around u128 in map key 2019-01-16 13:55:52 -08:00
David Tolnay
1168aedc4d
More sensitive test for recursion error
If eat_char is moved before the recursion check, the original test will
continue to pass but the new test will catch it.
2019-01-14 10:11:29 -08:00
David Tolnay
19c959cf92
Restore support for old compilers 2019-01-13 11:39:55 -08:00
David Tolnay
df1a227cc7
Unbounded depth 2019-01-13 11:27:04 -08:00
David Tolnay
22c0c7e92f
Release 1.0.35 2019-01-12 16:29:36 -08:00
David Tolnay
a098f41e83
Update examples to 2018 edition 2019-01-12 16:29:35 -08:00
David Tolnay
48980ef754
Update ui tests to 2018 edition 2019-01-12 15:16:36 -08:00
David Tolnay
4d5234c8d9
Copyright/license headers
The following changes are included:

- Delete per-file license notices at the top of each file.
- Delete the first paragraph of LICENSE-MIT (an inaccurate
  pseudo-copyright line), leaving only the text of the MIT license.

Nothing about the license of Serde code has changed, only our
understanding of how to correctly communicate the license has changed.

This mirrors an equivalent change being applied in the rust-lang/rust
repository.
2019-01-12 15:14:56 -08:00
David Tolnay
ca7c5b406b
Simplify compiletest setup 2019-01-12 15:11:27 -08:00
David Tolnay
d55369e54a
Format lookup tables in a way that does not require rustfmt skip 2019-01-03 00:08:44 -08:00
David Tolnay
3bd0fc177f
Release 1.0.34 2018-12-30 22:35:09 -05:00
David Tolnay
8304704f76
Update name of deprecated str::trim_right 2018-12-30 22:35:07 -05:00
David Tolnay
04ff22701d
Conditionally provide impl From<i128> and From<u128> for Number 2018-12-30 22:22:00 -05:00
David Tolnay
59d706077d
Merge pull request #506 from koushiro/fix_integer128_serialize
Fix integer128 serialize
2018-12-30 22:09:59 -05:00
koushiro
f3c641c228 Modify test
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
2018-12-29 17:14:04 +08:00
koushiro
f69e1ffe3f Fix serialization of i128 and u128 types
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
2018-12-29 17:08:02 +08:00
David Tolnay
32f1568c2a
Fix name of lint that was renamed in Clippy 2018-12-25 20:29:07 -05:00
David Tolnay
7536afd9f1
Show how to use BufReader 2018-12-07 14:48:22 -08:00
David Tolnay
e37cdddf81
Add a note about buffering in from_reader 2018-12-07 14:44:08 -08:00
David Tolnay
49e544e90e
Consistently apply Example and Errors headings 2018-12-07 14:43:22 -08:00
David Tolnay
e9570bfe7d
Update ui tests for rustc nightly-2018-11-29 2018-11-28 22:47:44 -08:00
David Tolnay
cc801bd093
Set up Travis build names 2018-11-24 15:24:23 -08:00
David Tolnay
cf75d1b20b
Remove lints that are no longer triggering 2018-11-21 01:11:41 -08:00
David Tolnay
ffeae2f147
Release 1.0.33 2018-11-09 09:34:26 -08:00
David Tolnay
70c3c86173
Merge pull request #504 from serde-rs/key
Allow map key to be borrowed from &Value
2018-11-09 09:33:39 -08:00
David Tolnay
bcad4a9460
Allow map key to be borrowed from &Value 2018-11-09 09:13:51 -08:00
David Tolnay
62f40665f0
Remove deprecated -Dclippy
Lib.rs already contains a deny(clippy) attribute which has the same effect.
2018-11-06 14:26:32 -08:00
David Tolnay
b432c50775
Address into_iter_on_ref lint 2018-11-06 14:25:31 -08:00
David Tolnay
0217ccefce
Ignore lint about rustfmt::skip
We support old compilers where #[rustfmt::skip] would fail to parse.
2018-11-06 14:24:35 -08:00
David Tolnay
b3001f48ee
Format with rustfmt 0.99.6-nightly 2018-11-06 14:22:39 -08:00
David Tolnay
ef59f615f4
Drop nightly dependency of compiletest 2018-10-28 00:00:31 -07:00
David Tolnay
5186b8f566
Update ui tests at nightly 2018-10-26 2018-10-27 18:14:48 -07:00
David Tolnay
2a627d13d6
Release 1.0.32 2018-10-03 22:39:18 -07:00
David Tolnay
cb443cef63
Merge pull request #493 from dtolnay/overflow
Fix overflow on i32::min_value() as exponent
2018-10-03 22:38:05 -07:00
David Tolnay
2161f0540f
Fix overflow on i32::min_value() as exponent 2018-10-03 22:23:48 -07:00
David Tolnay
805f394f8b
Merge pull request #491 from yjh0502/error_location
Improve error position for string that contains invalid characters
2018-09-28 23:53:06 -07:00
Jihyun Yu
ab670b4e9f fix bug on error position 2018-09-29 15:39:58 +09:00
David Tolnay
22726c6752
Fix playground links in readme 2018-09-28 10:28:39 -07:00
David Tolnay
b054916122
Simplify by using json Result in Read methods 2018-09-26 09:27:10 -07:00
David Tolnay
caa3adee15
Release 1.0.31 2018-09-26 09:14:33 -07:00
David Tolnay
e0118dde0e
Address needless_lifetimes lint in decode_hex_escape 2018-09-26 09:14:03 -07:00
David Tolnay
1ef3da9c6f
Merge pull request #489 from yjh0502/master
specialize hexadecimal sequence decoding
2018-09-26 09:11:39 -07:00
Jihyun Yu
d42a2e140b specialize hexadecimal sequence decoding 2018-09-26 22:31:33 +09:00