David Tolnay
7ec3cac7d6
Stabilize Deserialize for Box<CStr>
2018-05-26 09:48:50 -07:00
David Tolnay
1385aac208
Release 1.0.60
2018-05-25 16:05:01 -07:00
David Tolnay
b279ebb244
Merge pull request #1263 from serde-rs/integer128
...
Add Serde impls for i128 and u128
2018-05-25 16:03:08 -07:00
David Tolnay
039ebc63a1
Merge pull request #1278 from SimonSapin/stable-nonzero
...
Implement for std::num::NonZero* on Rust 1.28+
2018-05-24 09:47:10 -07:00
Simon Sapin
defd8853b1
Implement for std::num::NonZero* on Rust 1.28+
...
… regardless of the `unstable` feature. Fix #1274 .
2018-05-24 18:06:24 +02:00
David Tolnay
4de20bd48d
Release 1.0.59
2018-05-21 03:51:32 -07:00
David Tolnay
e883dc1bba
Include i128 and u128 in forward_to_deserialize_any invocations
2018-05-20 22:17:34 -07:00
David Tolnay
412bedc192
Document conditional compilation of 128-bit methods
2018-05-20 22:17:33 -07:00
David Tolnay
4615e428e8
Document serde_if_integer128 macro
2018-05-20 22:17:32 -07:00
David Tolnay
26fec05611
Add Serde impls for i128 and u128
2018-05-20 22:17:31 -07:00
David Tolnay
fdb51cc7dc
Add integer128 to Serde traits
2018-05-20 22:17:30 -07:00
David Tolnay
5510f758f8
Add a macro conditional on integer128 support
2018-05-20 22:17:29 -07:00
David Tolnay
4fa2a50f62
Format with rustfmt 0.7.0
2018-05-19 17:33:30 -07:00
David Tolnay
0c5f20c148
Release 1.0.58
2018-05-19 17:30:39 -07:00
David Tolnay
f09320b293
Remove unused methods on FromPrimitive trait
2018-05-19 16:29:25 -07:00
David Tolnay
3b4803115b
Release 1.0.57
2018-05-18 23:31:33 -07:00
David Tolnay
fa5f0f4541
Remove EnumSet from documentation
...
These impls were removed in Serde 0.9.6.
2018-05-18 21:26:23 -07:00
David Tolnay
593bcb087d
Remove impls for NonZero<T>
2018-05-18 21:06:14 -07:00
David Tolnay
f58000cb41
Release 1.0.56
2018-05-18 12:37:06 -07:00
David Tolnay
c80f9238d7
Link to i128 announcement
2018-05-18 12:34:36 -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
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
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
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
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
b4076f4577
Release 1.0.51
2018-05-08 10:07:45 -07:00
David Tolnay
7cd4f49c76
Release 1.0.50
2018-05-07 13:51:32 -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
0bc9c729b3
Add impls for Weak
2018-05-07 11:23:16 -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
9dc05c36f0
Release 1.0.47
2018-05-06 21:39:21 -07:00
David Tolnay
5098609935
Release 1.0.46
2018-05-06 13:44:55 -07:00
David Tolnay
aac1c65033
Simplify implementation of flattened internally tagged enum
...
The fact that the tag entry is consumed was only observable if there is
a later flattened map field, at which point the behavior is already
confusing anyway.
#[derive(Deserialize)]
struct Example {
#[serde(flatten)]
a: InternallyTagged,
#[serde(flatten)]
rest: BTreeMap<String, Value>,
}
Before this simplification the map would receive all the fields of the
internally tagged enum but not its tag, after it receives all the fields
including the tag.
2018-05-05 22:30:46 -07:00
David Tolnay
d8120e19bc
Support deserializing a flattened internally tagged enum
2018-05-05 21:52:16 -07:00
David Tolnay
ed425b3a6f
Clean up indentation in VariantAccess doc
2018-05-05 18:40:28 -07:00
David Tolnay
d1297deb36
Format where-clauses in serde docs like rustfmt
2018-05-05 18:33:33 -07:00
David Tolnay
97eff8e875
Format with rustfmt 0.6.1
2018-05-05 00:56:12 -07:00
David Tolnay
3f0d3453d8
Release 1.0.45
2018-05-02 15:18:17 -07:00
David Tolnay
893c0578dd
Release 1.0.44
2018-05-01 22:34:27 -07:00
David Tolnay
47a4ffbd31
Fill in missing fully qualified paths in flatten
2018-05-01 22:24:25 -07:00