Commit Graph

860 Commits

Author SHA1 Message Date
David Tolnay
5c24f0f0f3
Clean up some indentation that isn't visible to rustfmt 2018-12-10 22:31:39 -08:00
David Tolnay
c2591e9b39
Release 1.0.82 2018-12-10 22:25:27 -08:00
David Tolnay
e1edb0282a
Release 1.0.81 2018-12-07 18:30:35 -08:00
David Ross
cf1e0825c1 Support only u8 for enum identifiers within Content. 2018-12-05 17:01:48 -08:00
David Ross
86faa44915 Support only u8,u32 for enum variant identifiers in Content.
u8 correctly supports msgpack-rust, and u32 supports bincode and
presumably all other similar binary formats.
2018-12-05 15:59:47 -08:00
David Ross
a0b23cbf02 Accept integers variant encoding in Content
This allows ContentDeserializer and ContentRefDeserializer to
deserialize unsigned integers in deserialize_identifier, and
furthermore allows enums inside untagged enums to be correctly decoded
in formats which encode the enum variant as an integer.

Fixes https://github.com/serde-rs/serde/issues/1437.
2018-12-04 19:40:27 -08:00
David Tolnay
4d04ae0111
Sync links from serde.rs website 2018-12-01 13:01:48 -08:00
David Tolnay
58b3af4c29
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 that license has changed.

This mirrors an equivalent change being applied in the rust-lang/rust
repository.
2018-11-24 15:53:09 -08:00
David Tolnay
9afc5fef11
Format with rustfmt 1.0.0-nightly 2018-11-21 01:13:17 -08:00
David Tolnay
a8a54c0568
Remove 1.26-dev docs.rs workaround
They are now building with 1.31.0-nightly.
2018-11-11 12:13:25 -08:00
David Tolnay
451ee2d78e
Clean up calls to into_iter per into_iter_on_ref lint 2018-11-10 20:10:37 -08:00
David Tolnay
1b45e5766a
Release 1.0.80 2018-10-14 03:08:53 -07:00
David Tolnay
aca61b5dda
Optimize Vec::deserialize_in_place to deserialize elements in place 2018-10-14 02:51:24 -07:00
David Tolnay
908affd24f
Remove unused code in seq and map impls 2018-10-14 02:31:56 -07:00
David Tolnay
9956589ed5
Release 1.0.79 2018-09-15 14:40:38 -07:00
David Tolnay
66a9ccb10e
Ignore renamed_and_removed_lints lint
The recommended replacement involving clippy::all has not been
stabilized yet.
2018-09-11 23:05:33 -07:00
David Tolnay
7b50388fef
Release 1.0.78 2018-09-08 17:10:41 -07:00
David Tolnay
2a4b8ce42d
Fix panic deserializing flattened any after flattened struct 2018-09-08 16:55:34 -07:00
David Tolnay
108cca687c
Release 1.0.77 2018-09-06 21:36:27 -07:00
David Reid
27478b6f71 Internally tagged unit enum variants should ignore unknown fields. 2018-09-06 14:29:49 -07:00
David Tolnay
55cecace29
Release 1.0.76 2018-09-01 15:25:53 -07:00
hcpl
585550a5be Add support for NonZeroU128 2018-09-02 00:34:56 +03:00
David Tolnay
2aab0ce2f6
Release 1.0.75 2018-08-24 23:03:04 -04:00
David Tolnay
cfdbbee845
Release 1.0.74 2018-08-23 18:29:16 -04:00
Jan Bujak
7385b50249 Disable i128 integers on Emscripten targets 2018-08-24 00:02:40 +02:00
David Tolnay
db6aaf5110
Release 1.0.73 2018-08-22 21:47:15 -04:00
David Tolnay
60cbbacdb3
Release 1.0.72 2018-08-20 21:02:03 -04:00
Pratyush Mishra
3897ccb3f9 Fix compilation under rc feature 2018-08-20 14:35:48 -07:00
David Tolnay
cbfdba3826
Use rustfmt to wrap and format comments 2018-08-14 22:32:27 -07:00
David Tolnay
5985b7edaf
Format with rustfmt 0.99.2 2018-08-14 19:59:20 -07:00
David Tolnay
c7051ac748
Update links to a renamed manual chapter 2018-08-12 10:48:20 -07:00
David Tolnay
24c4df7831
Release 1.0.71 2018-08-06 23:55:55 -07:00
David Tolnay
20b34d3b43
Share some code between the Range and RangeInclusive impls 2018-08-06 23:16:47 -07:00
David Tolnay
228b5a4a63
Provide ops::Range impls whether or not std is used 2018-08-06 22:49:09 -07:00
Caio
8eb195edf0 Fix tests 2018-08-05 17:38:41 -03:00
Caio
8b2e6baf78 Implement Serialize and Deserialize for RangeInclusive 2018-08-05 10:45:50 -03:00
David Tolnay
4e54aaf796
Format with rustfmt 0.8.2 2018-07-08 19:02:44 -07:00
David Tolnay
4cddcbe194
Release 1.0.70 2018-07-06 20:21:26 -07:00
David Tolnay
229a9d90ba
Update path to alloc::collections for nightly-2018-07-07 2018-07-06 20:04:23 -07:00
David Tolnay
3bcd568c86
Release 1.0.69 2018-06-30 23:40:28 -07:00
David Tolnay
dc56077aac
Local inner macros 2018-06-30 23:38:14 -07:00
David Tolnay
a916aa9420
Release 1.0.68 2018-06-28 09:31:12 -07:00
David Tolnay
ce17301b8b
Release 1.0.67 2018-06-27 00:18:03 -07:00
David Tolnay
b0e78c6be4
Format with rustfmt 0.8.2 2018-06-27 00:16:06 -07:00
David Tolnay
84e384196d
Implement Serialize for core::fmt::Arguments 2018-06-26 23:58:16 -07:00
David Tolnay
cc9d85b293
Work around unused_imports rustdoc bug 2018-06-26 23:54:32 -07:00
David Tolnay
02493d83be
Ignore indexing_slicing pedantic lint 2018-06-26 23:39:26 -07:00
David Tolnay
a887db398b
Release 1.0.66 2018-06-03 11:45:20 -07:00
David Tolnay
485a64aaf9
Visitor for types that parse from a string 2018-06-03 01:19:46 -07:00
David Tolnay
b6c4cfec37
Support Duration in no-std mode on new compilers 2018-06-03 00:55:58 -07:00