1049 Commits

Author SHA1 Message Date
David Tolnay
4aba6fae78
Release 1.0.101 2019-09-16 00:32:28 -07:00
David Tolnay
d1ade37827
Ignore new too_many_lines lint 2019-09-10 23:15:59 -07:00
David Tolnay
0fdc0257aa
Sort Postcard in the same order as on the website 2019-09-07 19:10:48 -07:00
David Tolnay
b6a77c4413
Release 1.0.100 2019-09-07 18:55:50 -07:00
David Tolnay
c083cfd65e
Export std error type so downstream doesn't need "std" feature 2019-09-04 20:20:36 -07:00
James Munns
2d36be753a
Add Postcard to the list of Serde Data Formats 2019-08-28 12:23:54 +02:00
Benjamin Lee
b10c23a950
Fixed a typo 2019-08-18 22:37:28 -07:00
David Tolnay
192f5cd647
Release 1.0.99 2019-08-16 11:50:19 -07:00
David Tolnay
d6e5947ad2
Suppress warnings about try! macro 2019-08-16 11:24:22 -07:00
David Tolnay
690467cbe2
Release 1.0.98 2019-07-28 10:33:34 -07:00
Flaise
78c7f09e28 Add build gate for nonzero signed integers so rustc <1.34 still works 2019-07-28 11:44:31 -05:00
Flaise
34866e20a8 Add support for NonZeroI* types 2019-07-28 09:12:29 -05:00
David Tolnay
3ae2bee272
Release 1.0.97 2019-07-17 14:56:51 -07:00
David Tolnay
f249e72162
Provide try_from only on 1.34+ 2019-07-17 12:21:18 -07:00
David Tolnay
92e0b62c6b
Merge pull request 1526 from fanzeyi/try_from 2019-07-17 12:16:31 -07:00
David Tolnay
cf32a5b204
Release 1.0.96 2019-07-17 12:04:19 -07:00
David Tolnay
7b0e06c825
Provide 32 bit atomic impls for emscripten 2019-07-17 11:44:24 -07:00
James Brown
01fade764c replaced one too many _ with - 2019-07-17 09:57:53 -07:00
James Brown
210c2419be conservatively limit atomic features 2019-07-17 09:19:03 -07:00
David Tolnay
da05163d51
Release 1.0.95 2019-07-16 10:08:53 -07:00
David Tolnay
7a4c1086b5
Emscripten does not have 64 bit atomics 2019-07-16 09:57:00 -07:00
David Tolnay
85ae57040d
One macro to deserialize all atomics 2019-07-16 07:46:44 -07:00
David Tolnay
d55a4a279f
Deserialize atomics without needing element type 2019-07-16 07:45:41 -07:00
David Tolnay
bee9299693
One macro to serialize all atomics 2019-07-16 07:42:42 -07:00
David Tolnay
9529fcec96
Serialize atomics using the primitive's Serialize impl 2019-07-16 07:40:37 -07:00
David Tolnay
bcec168e23
Centralize atomic imports 2019-07-16 07:36:16 -07:00
David Tolnay
102a332616
Format with rustfmt 2019-06-09 2019-07-16 07:32:13 -07:00
David Tolnay
637dba5c2a
Merge pull request #1572 from Roguelazer/issue-1496
Implement serialization and deserialization for std::sync::atomic types
2019-07-16 07:28:18 -07:00
David Tolnay
fa5c99e48a
Alloc crate is no longer unstable 2019-07-16 07:21:09 -07:00
Caio
50ebbd63c6 Enable alloc on stable 2019-07-15 14:24:03 -03:00
James Brown
4e5f63ff45 gate atomic serde on rust 1.34 or higher 2019-07-12 13:44:42 -07:00
James Brown
de709e72a8 implement deserialization for atomic integer types 2019-07-11 18:18:54 -07:00
James Brown
56d3c8f071 implement serialization for atomic integer types 2019-07-11 17:34:53 -07:00
David Tolnay
ce89adecc1
Suppress deprecation warning on mem::uninitialized 2019-07-07 21:19:50 -07:00
Andrew Gallant
f9fdd60e2e
Update docs for serde_if_integer128
The docs imply that the only consideration for using the
serde_if_integer128 macro is support for older versions of Rust, but
Serde's build configuration for 128-bit integers is also gated on the
target platform. For example, if Serde is being compiled for an
emscripten target, then it will not provide 128-bit integer APIs.

See also: https://github.com/BurntSushi/rust-csv/issues/158
2019-07-01 10:18:57 -04:00
David Tolnay
1c1eecabc0
Release 1.0.94 2019-06-27 10:55:12 -07:00
David Tolnay
15ee353488
IgnoredAny::visit_enum for old compilers 2019-06-27 10:45:18 -07:00
David Tolnay
e75efbfd31
Support ignoring enum with IgnoredAny 2019-06-27 10:29:55 -07:00
David Tolnay
4cb13b33e0
Release 1.0.93 2019-06-23 12:50:17 -07:00
David Tolnay
afb1754528
Allow integer key in untagged flattened map 2019-06-23 12:09:15 -07:00
David Tolnay
dbd67c6c89
Clippy const_static_lifetime lint has been renamed 2019-06-19 01:34:13 -07:00
David Tolnay
ed01bdb9dd
Remove fixed cast_precision_loss lint 2019-06-15 10:13:05 -07:00
David Tolnay
b54821d8ab
Alloc feature has been stabilized
warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable
      --> serde/src/lib.rs:84:40
       |
    84 | #![cfg_attr(feature = "alloc", feature(alloc))]
       |                                        ^^^^^
       |
       = note: #[warn(stable_features)] on by default
2019-05-31 21:26:43 -07:00
David Tolnay
89c6a79b6e
Suppress a new pedantic lint 2019-05-31 21:25:36 -07:00
David Tolnay
cd0412bddc
Release 1.0.92 2019-05-31 13:44:01 -07:00
David Tolnay
e42262f0f5
Provide ToString for re-export by serde::export 2019-05-31 13:42:22 -07:00
Jonas Platte
e4e110e28f Fix a compile error in derive(Deserialize) with no_std + alloc 2019-05-31 22:16:40 +02:00
David Tolnay
0726623389
Ignore bare_trait_objects lint to support old compilers 2019-05-31 11:34:18 -07:00
est31
8fef196ee4 Don't use variable names
They aren't needed. This makes the macro a bit simpler
2019-05-17 16:50:41 +02:00
Zeyi Fan
4c29eea790 add attribute try_from 2019-05-11 23:31:24 -07:00