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
David Tolnay
2ceabad360
Release 1.0.102
2019-10-27 13:39:27 -07:00
David Tolnay
a00aee1495
Use a dedicated cfg for PathBuf::into_boxed_path
2019-10-27 13:38:25 -07:00
David Tolnay
4e31c9984d
Merge pull request #1656 from heftig/path-improvements
...
Improve Path deserialization
2019-10-27 13:37:12 -07:00
Jan Alexander Steffens (heftig)
b8772a1e40
Deserialize Box<Path> through PathBuf::into_boxed_path
...
Including Rc<Path> et al.
Fixes https://github.com/serde-rs/serde/issues/1633
2019-10-22 22:31:51 +02:00
Jan Alexander Steffens (heftig)
42990d8264
Deserialize PathBuf from bytes
...
&Path already allows this. Also complete the tests for Path/PathBuf.
2019-10-22 22:30:53 +02:00
David Tolnay
cf31418555
Resolve unused_self lint
2019-10-17 11:05:30 -04:00
David Tolnay
5db72b8ad9
Ignore must_use_candidate pedantic lint
2019-10-17 11:05:28 -04:00
David Tolnay
fe8f8bcf7b
Address needless_doctest_main lint in serde_test
2019-10-08 21:23:17 -07:00
David Tolnay
d4d737de8d
Resolve redundant_clone lint
2019-10-08 21:16:45 -07:00
David Tolnay
52f6e96ee8
Ignore needless_doctest_main lint
2019-10-08 21:15:08 -07:00
David Tolnay
44fa7b0f6b
Remove unused rustc-serialize dependency from test suite
2019-10-04 21:29:06 -04:00
David Tolnay
bda561df4e
Update test suite to nightly-2019-10-04
2019-10-03 21:45:09 -04:00