Commit Graph

3063 Commits

Author SHA1 Message Date
Jake Kiesel
fcbb3d3783 Add support for other enum representations 2019-09-07 11:43:53 -06:00
Jake Kiesel
acc8640c1e Fix (de)serialization of new types where the internal type is skipped 2019-09-07 03:20:43 -06:00
David Tolnay
c083cfd65e
Export std error type so downstream doesn't need "std" feature 2019-09-04 20:20:36 -07:00
David Tolnay
4cea81f93f
Merge pull request #1615 from jamesmunns/patch-1
Add Postcard to the list of Serde Data Formats
2019-08-28 10:17:43 -07:00
James Munns
2d36be753a
Add Postcard to the list of Serde Data Formats 2019-08-28 12:23:54 +02:00
David Tolnay
738d29eaa9 Update serde_derive_internals to syn 1.0 2019-08-26 12:29:45 -07:00
David Tolnay
b536fb67a4
Merge pull request #1604 from UnHumbleBen/patch-1
Fixed a typo
2019-08-19 03:10:49 -07:00
Benjamin Lee
b10c23a950
Fixed a typo 2019-08-18 22:37:28 -07:00
David Tolnay
85a5cf7cb1
Document serde_derive minimum rustc 2019-08-18 18:31:40 -07:00
David Tolnay
192f5cd647
Release 1.0.99 2019-08-16 11:50:19 -07:00
David Tolnay
7dceee64fe
Merge pull request #1591 from dtolnay/up
Update to syn/quote 1.0
2019-08-16 11:49:33 -07:00
David Tolnay
8ad6ae71c6
Update serde_derive minimum rustc version to 1.31 2019-08-16 11:31:15 -07:00
David Tolnay
3ea85a28cf
Update to syn/quote 1.0 2019-08-16 11:31:15 -07:00
David Tolnay
273ecdb786
Update ui tests on nightly-2019-08-16 2019-08-16 11:30:49 -07:00
David Tolnay
de40eb7306
Update serde_derive to use question mark 2019-08-16 11:28:25 -07:00
David Tolnay
b9c44073ce
Update serde_test to use question mark 2019-08-16 11:25:12 -07:00
David Tolnay
d6e5947ad2
Suppress warnings about try! macro 2019-08-16 11:24:22 -07:00
David Tolnay
668651ee01 Format with rustfmt 2019-07-30 2019-07-31 21:19:46 -07:00
David Tolnay
fb1cacc10e Update Attr structs to hold symbols 2019-07-31 21:06:36 -07:00
David Tolnay
735e56c26f Use symbols when parsing values out of attribute 2019-07-31 21:06:36 -07:00
David Tolnay
97de3dccbb Factor out attr symbols into constants 2019-07-31 21:06:36 -07:00
David Tolnay
690467cbe2
Release 1.0.98 2019-07-28 10:33:34 -07:00
David Tolnay
71efd8ffda
Merge pull request #1590 from dtolnay/manifest
Work around failing to parse manifest in 1.27 and 1.28 builds
2019-07-28 10:32:14 -07:00
David Tolnay
9bb196ae6e
Work around failing to parse manifest in 1.27 and 1.28 builds 2019-07-28 10:07:15 -07:00
David Tolnay
ce75418e40
Merge pull request #1589 from Flaise/nonzeroi
Add support for NonZeroI* types
2019-07-28 10:02:09 -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
David Tolnay
e7269ac84e
Add travis builds on every version in build.rs 2019-07-28 08:36:06 -07: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
d0fb958e99
Remove unneeded explicit type parameters in test_from_into_traits 2019-07-17 12:32:34 -07:00
David Tolnay
b941c63a53
More typical TryFrom usage for test 2019-07-17 12:31:41 -07:00
David Tolnay
cf70c3fb05
Format with rustfmt 2019-06-09 2019-07-17 12:27:26 -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
David Tolnay
3158bf9093
Merge pull request #1581 from Roguelazer/issue-1579
conservatively limit atomic features
2019-07-17 11:01:21 -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
f3e2bb5104
Disable 64 bit atomic tests on emscripten 2019-07-16 10:00:44 -07:00
David Tolnay
7a4c1086b5
Emscripten does not have 64 bit atomics 2019-07-16 09:57:00 -07:00
David Tolnay
e89feb9635
Test atomics without needing a macro
As a secondary benefit, this avoids a congnitive_complexity lint from
Clippy.
2019-07-16 09:17:36 -07:00
David Tolnay
5f72766c27
Ignore unreadable_literal lint in test code 2019-07-16 09:04:43 -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