David Tolnay
03addbae55
Format with rustfmt 2020-03-11
2020-04-19 17:32:11 -07:00
David Tolnay
0bab6be124
Resolve redundant_pattern_matching lint
2020-04-19 17:31:15 -07:00
David Tolnay
b6def5300a
Resolve redundant_field_names lint in serde_derive
2020-04-05 21:07:52 -07:00
David Tolnay
1b35c9e27e
Update serde_derive to tool attrs
2020-04-05 21:00:58 -07:00
David Tolnay
d1564525ad
Release 1.0.106
2020-04-03 14:26:42 -07:00
David Tolnay
645f672a55
Merge pull request #1768 from robo9k/dummy-const-hidden-doc
...
Hide generated dummy const in rustdoc
2020-04-03 14:25:50 -07:00
robo9k
a135199ab1
Hide generated dummy const in rustdoc
2020-04-03 22:21:38 +02:00
David Tolnay
2a9971a69d
Merge pull request #1764 from serde-rs/collect
...
Simplify default Serializer::collect_str implementation
2020-03-27 23:10:06 -07:00
David Tolnay
e2ada0efef
Simplify default Serializer::collect_str implementation
2020-03-27 22:55:25 -07:00
David Tolnay
69653a762d
Release 1.0.105
2020-03-18 11:42:51 -07:00
David Tolnay
c33fb95127
Merge pull request #1754 from maciejhirsz/non-std-cow-borrow
...
Allow #[serde(borrow)] for non-std Cow
2020-03-18 11:40:35 -07:00
Maciej Hirsz
ec6ca6bf73
Allow non-std Cow borrows
2020-03-18 13:34:38 +01:00
David Tolnay
078e88b223
Select a single docs.rs build target
2020-03-17 13:31:35 -07:00
David Tolnay
1894cb703f
Resolve clippy question_mark lint
2020-03-05 19:48:07 -08:00
David Tolnay
27c283ab53
Suppress wildcard import pedantic lints
2020-02-26 21:00:12 -08:00
David Tolnay
142955b109
Ignore struct_excessive_bools pedantic lint
2020-02-12 19:34:14 -08:00
David Tolnay
a61cd0f236
Update ui tests to nightly-2020-02-08
2020-02-08 00:10:00 -08:00
David Tolnay
cb1632e957
Fix unused_parens lint
...
These are left over from a series of unfortunate rustfmt interactions.
ee75e6c0e9 (diff-c052b162f01a664f8184ef1855d1f1cfL767-R735)
cc2558b0dc (diff-c052b162f01a664f8184ef1855d1f1cfL733-R738)
9f38ca032e (diff-c052b162f01a664f8184ef1855d1f1cfL779-R782)
2020-01-25 00:05:15 -08:00
David Tolnay
dbf1f9ab8f
Remove unneeded type ascription
2020-01-17 19:50:48 -08:00
David Tolnay
137ab48aff
Suppress unseparated_literal_suffix lint
2020-01-17 19:50:09 -08:00
David Tolnay
fc43def8a3
Merge pull request #1721 from WildCryptoFox/remove-unsafe-code
...
remove the tiny bit of unsafe code
2020-01-17 14:13:35 -08:00
James McGlashan
2a351016ed
remove the tiny bit of unsafe code
2020-01-17 00:00:00 +00:00
David Tolnay
dfa321a1dd
Ignore wildcard_in_or_patterns lint
2020-01-14 20:31:03 -08:00
David Tolnay
895eb2ba6c
Update ui tests to nightly-2019-12-19
2019-12-18 23:46:29 -08:00
David Tolnay
cd365de70c
Update ui tests to nightly-2019-12-18
2019-12-17 23:47:40 -08:00
David Tolnay
7f799f3948
Ignore missing_errors_doc pedantic lint
2019-12-15 20:16:22 -08:00
David Tolnay
234fbfd7e3
Release 1.0.104
2019-12-15 20:01:04 -08:00
David Tolnay
b9909cef3d
Revert "Remove never_type feature gate"
...
This reverts commit 533fb9cc44
.
2019-12-15 19:52:59 -08:00
David Tolnay
d540e72fc7
Format with rustfmt 2019-10-07
2019-11-26 00:02:11 -08:00
David Tolnay
13d0899776
Add missing import in de_enum expand test
2019-11-26 00:00:05 -08:00
David Tolnay
4fefa7a01d
Format imports in expandtest inputs
2019-11-25 23:57:34 -08:00
David Tolnay
90486607a1
Update test suite to nightly-2019-11-26
2019-11-25 23:51:43 -08:00
David Tolnay
0b303c766c
Mark tests ignored on emscripten rather than omitting
...
This way they still appear in `cargo test`'s output.
2019-11-24 17:27:30 -08:00
David Tolnay
c371563bfc
Reduce nesting of macrotest test cases
2019-11-24 17:25:44 -08:00
David Tolnay
d17d8eb3ee
Rely on std::process::Command's path search
2019-11-24 17:23:02 -08:00
David Tolnay
bcaebdb2b7
Merge pull request #1662 from eupn/use-macrotest
...
Implement expansion tests
2019-11-24 17:14:35 -08:00
David Tolnay
43a9f59c18
Release 1.0.103
2019-11-24 16:15:13 -08:00
David Tolnay
ff70409215
Merge pull request #1669 from H2CO3/master
...
Allow untagged unit variants to deserialize from `Visitor::visit_none()`
2019-11-24 16:13:37 -08:00
David Tolnay
97a98a7031
Test only deser for untagged unit visit_none
2019-11-24 15:59:08 -08:00
David Tolnay
533fb9cc44
Remove never_type feature gate
...
The stabilization for this feature has landed in nightly.
2019-11-23 19:30:39 -08:00
Árpád Goretity
59b99d2d60
Move test for untagged-variant-from-unit where it belongs
2019-11-07 21:18:12 +01:00
Árpád Goretity
c796daed7c
Fix test for untagged unit variant
2019-11-07 12:58:09 +01:00
Árpád Goretity
6e2c385fa5
Allow untagged unit variants to deserialize from Visitor::visit_none()
2019-11-06 17:31:27 +01:00
Evgenii P
9a0e4e0176
Ignore expansion test if cargo-expand subcommand isn't present
2019-11-03 20:31:08 +08:00
Evgenii P
640f8e0e82
Remove stdlib derives and fix expanded files to have newlines at the end
2019-11-03 20:08:39 +08:00
David Tolnay
4eb580790d
Require serde_derive version to be the same as serde version
...
Without this, Cargo could combine new serde_derive with old serde
resulting in generated code that refers to types that don't exist yet in
the serde version.
2019-11-02 15:17:09 -07:00
David Tolnay
a2c83d754b
Merge pull request #1664 from mathstuf/minimal-versions-compat
...
serde_derive: require the same version as serde
2019-11-02 12:04:20 -07:00
Ben Boeckel
6f946b20ec
serde_derive: require the same version as serde
...
This ensures that all features supported by serde are always available
through the derive macro provided through the feature flag.
Fixes : #1647
2019-11-01 19:47:31 -04:00
Evgenii P
4dda90502a
Add *.expanded.rs files
2019-11-01 02:32:34 +08:00
Evgenii P
dc6dbba47c
Implement derive macros expansion tests using macrotest
2019-11-01 02:32:06 +08:00