David Tolnay
d4042872f5
Release 1.0.12
2017-09-04 11:11:44 -07:00
David Tolnay
64af86b830
Suppress cast_lossless lint
2017-09-04 11:10:43 -07:00
David Tolnay
972da59ebc
Deserialize unsized Arc and Rc
2017-09-04 10:56:42 -07:00
David Tolnay
e4ea2a56e9
Serialize unsized Arc and Rc
2017-09-04 10:31:03 -07:00
David Tolnay
7650a48fdd
Opt in to clippy_pedantic lints
2017-08-24 00:41:42 -07:00
hcpl
44e23254c9
Fix SeqAcccess typo in docs
2017-08-20 22:02:28 +03:00
David Tolnay
d965367238
No longer need feature(into_boxed_c_str)
2017-08-15 22:08:23 -07:00
David Tolnay
d3e5dd9cd7
Disagree that 0x10000 is unreadable
2017-08-05 23:26:15 -07:00
David Tolnay
26098ed877
Release 1.0.11
2017-07-27 00:56:28 -07:00
David Tolnay
9f0973aff7
NonZero constructor now returns Option
2017-07-27 00:35:56 -07:00
David Tolnay
959fee024f
Merge pull request #986 from Marwes/simplify_seed
...
refactor: Implement Deserialize of wrapper types with a macro
2017-07-12 20:36:48 -07:00
Markus Westerlind
8ede8c8e2a
refactor: Implement Deserialize of wrapper types with a macro
2017-07-13 00:02:29 +02:00
David Tolnay
83537c95e1
Release 1.0.10
2017-07-11 21:19:24 -07:00
David Tolnay
fa9057fa31
Merge pull request #949 from WiSaGaN/feature/support-system-time
...
Support std::time::SystemTime
2017-07-11 21:17:56 -07:00
Wangshan Lu
b504b08782
Fix SystemTime serde name
2017-07-12 12:01:29 +08:00
David Tolnay
9ecb0839de
Release 1.0.9
2017-06-29 20:21:29 -07:00
David Tolnay
6801a13650
Fix unused seq and map macros
2017-06-17 19:01:12 -07:00
David Tolnay
e43d3f3e4f
Merge crate collections into alloc
2017-06-17 18:35:56 -07:00
Wangshan Lu
5dd327fb02
Support std::time::SystemTime
2017-06-04 16:39:03 +08:00
David Tolnay
fd3d1396d3
Release 1.0.8
2017-05-24 00:17:27 -07:00
David Tolnay
c47b4c8e0b
Release 1.0.7
2017-05-19 17:00:31 -07:00
Andrew Gallant
237be46e29
add borrowed value deserializers
...
This adds two new types to the `de::value` module,
`BorrowedStrDeserializer` and `BorrowedBytesDeserializer`. A
`BorrowedStrDeserializer` is just like `StrDeserializer`, except the
lifetime of the string is tied to the lifetime of the deserializer. This
can be useful when, for example, deserializing into a
`HashMap<&str, &str>` when the keys/values are tied to the deserializer
itself.
The `BorrowedBytesDeserializer` has no analog, but it's the same as
`BorrowedStrDeserialize` except for `&[u8]` instead of `&str`.
2017-05-19 19:55:34 -04:00
David Tolnay
3d7aad1e7b
Release 1.0.6
2017-05-17 08:20:54 -07:00
David Tolnay
4d5e450054
Release 1.0.5
2017-05-14 12:53:48 -07:00
David Tolnay
cda1fc46b0
Fix internally tagged struct variant containing unit variant containing borrowed string
2017-05-14 12:39:42 -07:00
David Tolnay
c68b959696
Release 1.0.4
2017-05-10 20:05:22 -07:00
David Tolnay
c1259fbc87
Support borrowing within internally tagged enum
2017-05-10 19:56:05 -07:00
David Tolnay
58e30eaee4
Release 1.0.3
2017-05-10 10:15:39 -07:00
Paul Collier
f347b2d363
impl Deserialize for &'a Path
2017-05-10 13:03:03 -04:00
David Tolnay
c913527944
Removed Deref impl for NonZero
2017-05-09 19:48:54 -07:00
David Tolnay
8fafc7420c
Release 1.0.2
2017-04-27 12:32:30 -07:00
Ted Driggs
873cfbe9ab
Fix #816 - adjacently-tagged enums honor deny_unknown_fields
2017-04-27 11:24:09 -07:00
Simon Sapin
6fbf40b83c
Remove usage of unstable core::num::Zero, which was removed upstream.
...
https://github.com/rust-lang/rust/pull/41437
2017-04-24 08:29:38 +09:00
David Tolnay
d7ccef0cac
Release 1.0.0
2017-04-20 08:19:31 -07:00
David Tolnay
2d465415c5
Take credit
2017-04-20 08:13:46 -07:00
David Tolnay
4a9cb3395d
Fix the serialize_bytes doc test
2017-04-19 15:03:02 -07:00
David Tolnay
dfa6623a24
Encourage serialize_entry
2017-04-19 14:56:52 -07:00
David Tolnay
a8adac6b93
Document misuse of SerializeMap
2017-04-19 14:55:28 -07:00
David Tolnay
b9b7922ef1
Naming for &str and &[u8] is more like primitives
2017-04-19 14:53:15 -07:00
David Tolnay
0240814677
Update post-merge html_root_urls
2017-04-19 14:32:04 -07:00
David Tolnay
7a7d4c6364
Format in rfc style
2017-04-18 14:23:21 -07:00
David Tolnay
b8a6e68322
Revert "Allow borrowing from str's IntoDeserializer"
...
This reverts commit 30e8c84d01 .
2017-04-17 16:18:48 -07:00
David Tolnay
6279b0d930
Resolve merge conflicts
2017-04-17 14:25:29 -07:00
David Tolnay
a778425d0f
Merge branch 'origin/master' into 'origin/1.0'
...
Conflicts:
serde/Cargo.toml
serde/src/de/impls.rs
serde/src/ser/impls.rs
serde_derive/Cargo.toml
serde_test/Cargo.toml
2017-04-17 14:18:33 -07:00
David Tolnay
86deb8db79
Remove seq_fixed_size in favor of tuple
2017-04-17 12:07:49 -07:00
David Tolnay
d4d2061a2e
Release 0.9.14
2017-04-17 07:33:45 -07:00
Jethro Beekman
1c9478bfa6
Add Serialize/Deserialize for std types that provide interior mutability
...
Fixes #179
2017-04-16 22:59:17 -07:00
David Tolnay
3eef7c87c9
Fix xml link spacing
2017-04-16 20:33:15 -07:00
David Tolnay
e0c040a3a2
Document MapAccess misuse
2017-04-15 12:36:43 -07:00
David Tolnay
c13a37d4db
Rename VariantAccess methods to not conflict with Deserializer
2017-04-15 12:35:04 -07:00