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
David Tolnay
fd6178cad6
IntoDeserializer for !
2018-06-03 00:12:02 -07:00
David Tolnay
338fb67853
Implement traits for !
2018-06-03 00:02:29 -07:00
David Tolnay
2db2b53bbf
Release 1.0.65
2018-06-01 13:00:58 -07:00
David Tolnay
d5ec3efe49
Merge pull request #1299 from dtolnay/flattenmap
...
Allow multiple flattened maps to see the same fields
2018-06-01 13:00:45 -07:00
David Tolnay
5ee2fc0562
Allow multiple flattened maps to see the same fields
...
Before this change, flattening anything after a flattened map was
nonsensical because the later flattened field would always observe no
input fields.
#[derive(Deserialize)]
struct S {
#[serde(flatten)]
map: Map<K, V>,
#[serde(flatten)]
other: Other, // always empty
}
This change makes a flattened map not consume any of the input fields,
leaving them available to later flattened fields in the same struct. The
new behavior is useful when two flattened fields that both use
deserialize_map care about disjoint subsets of the fields in the input.
#[derive(Deserialize)]
struct S {
// Looks at fields with a "player1_" prefix.
#[serde(flatten, with = "prefix_player1")]
player1: Player,
// Looks at fields with a "player2_" prefix.
#[serde(flatten, with = "prefix_player2")]
player2: Player,
}
2018-06-01 12:50:23 -07:00
David Tolnay
ca53daf697
Fix RefCell serialize impl to work with no-std
2018-06-01 12:47:10 -07:00
Konrad Borowski
c3b9ee314b
Use try_borrow for serializing RefCell
2018-06-01 09:09:40 +02:00
David Tolnay
dbaf2893e3
Release 1.0.64
2018-05-30 00:17:45 -07:00
David Tolnay
34a7108b73
Second attempt at workaround for docs.rs compiler
2018-05-30 00:17:02 -07:00
David Tolnay
db2bafd3f3
Revert "Work around docs.rs using an old 1.26-dev compiler"
...
This reverts commit c81bab18ad .
2018-05-30 00:13:20 -07:00
David Tolnay
1b6fbf1023
Release 1.0.63
2018-05-28 20:12:08 -07:00
David Tolnay
c81bab18ad
Work around docs.rs using an old 1.26-dev compiler
2018-05-28 19:58:27 -07:00
David Tolnay
a39199e9f7
Reword Avro blurb
...
- Emphasize the association with Apache Hadoop,
- Rephrase "schematized data" because that term returns not many Google
results, doesn't seem widely recognized.
2018-05-27 19:39:50 -07:00
David Tolnay
b0ad1e56e8
Move Avro above deserialization-only formats
2018-05-27 19:31:05 -07:00
David Tolnay
ab53448bc3
Merge pull request #1260 from flavray/master
...
Add Avro to the list of supported data formats
2018-05-27 19:29:19 -07:00
David Tolnay
c50c9d8862
Simplify readme as rendered on crates.io
2018-05-27 19:18:30 -07:00