David Tolnay
01b86d5ce4
Merge pull request #1259 from serde-rs/build
...
Build script that does nothing
2018-05-18 12:35:13 -07:00
David Tolnay
c80f9238d7
Link to i128 announcement
2018-05-18 12:34:36 -07:00
David Tolnay
62850bf832
Disable nightly proc-macro build
2018-05-18 12:24:03 -07:00
David Tolnay
9f114548f4
Revert "Use version_check
crate instead of handcrafted version parsing"
...
This reverts commit 8890061f82
.
2018-05-18 11:48:05 -07:00
Oliver Schneider
8890061f82
Use version_check
crate instead of handcrafted version parsing
2018-05-18 14:41:40 +02:00
Flavien Raynaud
38d4f0e06c
Add Avro to the list of supported data formats
2018-05-16 16:22:25 +01:00
David Tolnay
2c05518810
Build script that does nothing
...
Eventually we will want a build script that enables Serde impls for i128
and u128. As a first step here is a build script that does nothing to
see whether we can roll this out without breaking anyone's workflow,
without having a supported feature at stake in the event that it needs
to be rolled back.
2018-05-15 14:41:38 -07:00
David Tolnay
4aeb0df88f
Add a button to clarify any other type of issue is welcome
2018-05-12 11:27:14 -07:00
David Tolnay
6550231a51
Release 1.0.55
2018-05-12 09:47:43 -07:00
David Tolnay
ea0012fc5a
Support deserializing bytes as the flattened identifier
2018-05-12 09:44:04 -07:00
David Tolnay
d6b62b9417
Release 1.0.54
2018-05-11 23:02:37 -07:00
David Tolnay
2ee347c5a5
Merge pull request #1256 from serde-rs/option
...
Support flattened untagged Options in struct fields
2018-05-11 23:01:37 -07:00
David Tolnay
4305260174
Support flattened untagged Options in struct fields
2018-05-11 22:14:16 -07:00
David Tolnay
35aae92b56
Remove playground feature
...
These days serde_derive is in the top 100 crates so it gets picked up
without needing this help from serde.
2018-05-11 01:28:20 -07:00
David Tolnay
f3f26796c7
Format with rustfmt 0.6.1
2018-05-10 09:11:19 -07:00
David Tolnay
d1460e1f0d
Release 1.0.53
2018-05-10 08:44:53 -07:00
David Tolnay
dfd81323d5
Cfg away a macro used only by flatten
2018-05-10 08:44:26 -07:00
David Tolnay
368961e961
Support deserializing flattened untagged enum
2018-05-10 08:33:47 -07:00
David Tolnay
f9c6f0ab62
Release 1.0.52
2018-05-09 13:01:41 -07:00
David Tolnay
b2b36e1764
Accept implicitly borrowed data inside of Option
2018-05-08 12:19:09 -07:00
David Tolnay
4ad140ea70
Improve error for struct deserialized from array that is too short
2018-05-08 12:03:35 -07:00
David Tolnay
67777eb585
Account for skip_serializing_if in tuple struct length
2018-05-08 11:49:37 -07:00
David Tolnay
b4e51fcc77
Respect skip_serializing in tuple structs and variants
2018-05-08 11:37:52 -07:00
David Tolnay
be7fe2a5eb
Introduce bound attribute on enum variants
2018-05-08 11:16:10 -07:00
David Tolnay
b4076f4577
Release 1.0.51
2018-05-08 10:07:45 -07:00
David Tolnay
c4181f46be
Respect variant skip attribute in inferred bounds
2018-05-07 21:30:00 -07:00
David Tolnay
8c0efc3d77
Add a variant skip attribute
2018-05-07 21:27:34 -07:00
David Tolnay
7e3efaf6c5
Improve error when a 'de lifetime parameter already exists
2018-05-07 21:15:44 -07:00
David Tolnay
12fe42ed45
Support empty adjacently tagged enum
2018-05-07 21:02:42 -07:00
David Tolnay
7cd4f49c76
Release 1.0.50
2018-05-07 13:51:32 -07:00
David Tolnay
ff9c85d47f
Merge pull request #1252 from serde-rs/precondition
...
Detect deserialize on a struct ending in dynamically sized slice
2018-05-07 13:50:48 -07:00
David Tolnay
0025ef9aba
Detect deserialize on a struct ending in dynamically sized slice
2018-05-07 11:52:59 -07:00
David Tolnay
536bdd77a0
Release 1.0.49
2018-05-07 11:51:15 -07:00
David Tolnay
6993b983d2
Merge pull request #1251 from serde-rs/weak
...
Add impls for Weak
2018-05-07 11:50:35 -07:00
David Tolnay
4bfeb05f22
Prefer Self and associated types in de impls
2018-05-07 11:36:41 -07:00
David Tolnay
4687c1b52b
Test Weak deserialize impls
2018-05-07 11:23:18 -07:00
David Tolnay
a58abae193
Test Weak serialize impls
2018-05-07 11:23:17 -07:00
David Tolnay
0bc9c729b3
Add impls for Weak
2018-05-07 11:23:16 -07:00
David Tolnay
dc921892be
Eliminate map_or(None, f)
2018-05-07 11:23:04 -07:00
David Tolnay
62557731c3
Enable pedantic clippy lints in serde_derive
2018-05-07 11:03:09 -07:00
David Tolnay
ab62cd3b28
Eliminate loop that does not loop
2018-05-07 10:46:54 -07:00
David Tolnay
30824e9f61
Release 1.0.48
2018-05-07 10:22:26 -07:00
David Tolnay
eecc0870fc
Test for pub(restricted)
2018-05-06 23:22:27 -07:00
David Tolnay
6475e73b05
Less horrible logic for missing fields that unconditionally return error
2018-05-06 22:20:35 -07:00
David Tolnay
697234517d
Merge pull request #1249 from serde-rs/empty
...
Fix adjacently tagged empty tuple variant or struct variant
2018-05-06 22:20:27 -07:00
David Tolnay
3cd9d071c2
Fix adjacently tagged empty tuple variant or struct variant
2018-05-06 21:50:40 -07:00
David Tolnay
9dc05c36f0
Release 1.0.47
2018-05-06 21:39:21 -07:00
David Tolnay
972cc06fed
Format the flatten tests using rustfmt 0.6.1
2018-05-06 21:38:41 -07:00
David Tolnay
20013464f8
Merge pull request #1248 from serde-rs/flatten
...
Support flatten in enums
2018-05-06 21:37:32 -07:00
David Tolnay
2009b4da5f
Remove old flatten in enum compile-fail test
2018-05-06 21:26:40 -07:00