David Tolnay
|
04faac962a
|
Remove error_on_line_overflow rustfmt setting
No longer seeing warnings on this from rustfmt.
|
2020-06-21 16:48:22 -07:00 |
|
David Tolnay
|
8ff11dc234
|
Merge pull request #1841 from dtolnay/lenhint
Remove len hint specialization
|
2020-06-20 19:08:34 -07:00 |
|
David Tolnay
|
6b3777b617
|
Remove len hint specialization
|
2020-06-20 19:02:26 -07:00 |
|
David Tolnay
|
7350b58f5c
|
Release 1.0.113
|
2020-06-19 13:31:38 -07:00 |
|
David Tolnay
|
7351e0e55a
|
Link to feature announcements where available
|
2020-06-19 13:30:14 -07:00 |
|
David Tolnay
|
b3ff7e43ef
|
Merge pull request #1827 from taiki-e/underscore_consts
Use underscore consts on Rust 1.37+
|
2020-06-19 13:27:33 -07:00 |
|
David Tolnay
|
6980727d74
|
Merge pull request #1840 from rw/patch-1
Add FlexBuffers to serde ecosystem list
|
2020-06-18 22:57:59 -07:00 |
|
David Tolnay
|
f3520e526b
|
Release 1.0.112
|
2020-06-14 11:16:04 -07:00 |
|
David Tolnay
|
e8fd2c85c3
|
Merge pull request #1839 from dtolnay/entry
Forward serialize_entry on flattened maps
|
2020-06-14 11:15:26 -07:00 |
|
David Tolnay
|
97962d51e2
|
Forward serialize_entry on flattened maps
|
2020-06-14 11:10:18 -07:00 |
|
David Tolnay
|
95b1a5d3d9
|
Ignore unnested_or_patterns suggesting unstable code
Clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
2020-06-10 19:41:16 -07:00 |
|
David Tolnay
|
0856a2c101
|
No need to specify Cargo.toml in package.include
Cargo.toml is always included in the published crate.
|
2020-06-10 01:21:19 -07:00 |
|
David Tolnay
|
9f331cc257
|
Release 1.0.111
|
2020-05-29 18:53:07 -07:00 |
|
David Tolnay
|
ef16c815f6
|
Merge pull request #1821 from dtolnay/ungroup
Look inside of None-delimited groups when examining types
|
2020-05-29 18:11:14 -07:00 |
|
David Tolnay
|
c45a809d5c
|
Look inside of None-delimited groups when examining types
|
2020-05-29 17:58:34 -07:00 |
|
David Tolnay
|
f7d06cae4c
|
Add failing test involving macro_rules metavariable
|
2020-05-29 17:58:10 -07:00 |
|
David Tolnay
|
31fe82a215
|
Resolve match_wildcard_for_single_variants pedantic lint
|
2020-05-29 17:46:40 -07:00 |
|
David Tolnay
|
ef6ed1d1be
|
Copy some new links from serde.rs to the crate-level doc
|
2020-05-22 12:49:15 -07:00 |
|
David Tolnay
|
9d1251548b
|
Mirror 'Getting help' from github readme to crates.io readme
|
2020-05-15 23:09:48 -07:00 |
|
David Tolnay
|
c20730ee39
|
Remove reference to mozilla irc
|
2020-05-15 23:07:35 -07:00 |
|
David Tolnay
|
afd51ef0f4
|
Merge pull request #1808 from dtolnay/help
Update 'Getting help' section
|
2020-05-09 23:38:40 -07:00 |
|
David Tolnay
|
3167f98689
|
Update 'Getting help' section
|
2020-05-09 23:34:38 -07:00 |
|
David Tolnay
|
078b171c1b
|
Release 1.0.110
|
2020-05-09 23:06:56 -07:00 |
|
David Tolnay
|
da8d6f678e
|
Simplify finding of repr(packed) attributes
|
2020-05-09 23:02:49 -07:00 |
|
David Tolnay
|
548eb8f667
|
Format PR 1791 with rustfmt
|
2020-05-09 22:54:42 -07:00 |
|
David Tolnay
|
1fe39043ee
|
Simplify access of packed struct fields in derived Serialize impls
|
2020-05-09 22:53:38 -07:00 |
|
David Tolnay
|
c2114491ca
|
Add test of Serialize impl for packed struct
|
2020-05-09 22:52:49 -07:00 |
|
David Tolnay
|
d6b39fd2c1
|
Merge pull request #1807 from dtolnay/31
Add a CI builder on 1.31.0
|
2020-05-09 22:44:41 -07:00 |
|
David Tolnay
|
4d6d0ae539
|
Add a CI builder on 1.31.0
|
2020-05-09 22:38:26 -07:00 |
|
David Tolnay
|
dda070f45c
|
Fix borrow error on pre-NLL compilers
error[E0506]: cannot assign to `missing_content` because it is borrowed
--> serde_derive/src/de.rs:1414:9
|
1388 | .filter_map(|(i, variant)| {
| -------------- borrow of `missing_content` occurs here
...
1414 | / missing_content = quote! {
1415 | | match __field {
1416 | | #(#missing_content_arms)*
1417 | | #missing_content_fallthrough
1418 | | }
1419 | | };
| |_________^ assignment to borrowed `missing_content` occurs here
error[E0502]: cannot borrow `missing_content_fallthrough` as immutable because it is also borrowed as mutable
--> serde_derive/src/de.rs:1414:27
|
1388 | .filter_map(|(i, variant)| {
| -------------- mutable borrow occurs here
...
1404 | missing_content_fallthrough = quote!(_ => #missing_content);
| --------------------------- previous borrow occurs due to use of `missing_content_fallthrough` in closure
...
1414 | missing_content = quote! {
| ___________________________^
1415 | | match __field {
1416 | | #(#missing_content_arms)*
1417 | | #missing_content_fallthrough
1418 | | }
1419 | | };
| |_________^ immutable borrow occurs here
...
1622 | }
| - mutable borrow ends here
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2020-05-09 22:37:31 -07:00 |
|
David Tolnay
|
b97a183e82
|
Release 1.0.109
|
2020-05-09 21:00:51 -07:00 |
|
David Tolnay
|
9433004307
|
Omit missing content match if not needed
|
2020-05-09 20:59:01 -07:00 |
|
David Tolnay
|
9476838264
|
Omit missing content fallthrough arm if not needed
|
2020-05-09 20:59:00 -07:00 |
|
David Tolnay
|
3c97e1b9a9
|
Format PR 1702 with rustfmt
|
2020-05-09 18:24:05 -07:00 |
|
David Tolnay
|
ea2789df0f
|
Release 1.0.108
|
2020-05-09 17:53:23 -07:00 |
|
David Tolnay
|
b7cfe33101
|
Add example usage to Formatter Serializer impl
|
2020-05-09 17:48:27 -07:00 |
|
David Tolnay
|
1b8ebf6b64
|
Add 128-bit integer support for Formatter
|
2020-05-09 17:48:27 -07:00 |
|
David Tolnay
|
35ad468780
|
Allow serializing newtype struct to Formatter
Serialize_newtype_struct is typically expected to just pass through the
wrapped value.
|
2020-05-09 17:48:27 -07:00 |
|
David Tolnay
|
850a29beb1
|
Directly display to the Formatter
This allows formatter flags to take effect.
|
2020-05-09 17:48:26 -07:00 |
|
David Tolnay
|
16bf9871cd
|
Remove serialize_unit from Formatter's impl
|
2020-05-09 17:48:26 -07:00 |
|
David Tolnay
|
6182eceed1
|
Move the Formatter Serializer to a module
Let's keep impls.rs for Serialize impls, which there are enough of
already.
|
2020-05-09 17:48:26 -07:00 |
|
David Tolnay
|
99bc52f685
|
Support no-default-features mode in Formatter's impl
|
2020-05-09 17:48:26 -07:00 |
|
David Tolnay
|
f63acb52dc
|
Release 1.0.107
|
2020-05-08 15:45:36 -07:00 |
|
David Tolnay
|
36a66873cc
|
Merge pull request #1805 from dtolnay/skip
Fix indexing bug when `skip` and `other` are combined
|
2020-05-08 15:43:51 -07:00 |
|
David Tolnay
|
63809e69c7
|
Fix indexing bug when skip and other are combined
|
2020-05-08 15:39:07 -07:00 |
|
David Tolnay
|
f44402e224
|
Add regression test for issue 1804
|
2020-05-08 15:38:44 -07:00 |
|
David Tolnay
|
099fa25b86
|
Fix unused matrix component in name of clippy job
|
2020-05-06 01:53:58 -07:00 |
|
David Tolnay
|
c120c4518b
|
Move clippy to ci.yml gated with github.event_name != 'pull_request'
|
2020-05-05 22:09:35 -07:00 |
|
David Tolnay
|
115c1b4830
|
Exclude expansion tests from test suite by default
This test isn't high enough signal to have all contributors run it.
|
2020-05-05 21:52:37 -07:00 |
|
David Tolnay
|
23db3a41e7
|
Run expansion tests only if rustfmt is present
|
2020-05-05 21:50:14 -07:00 |
|
David Tolnay
|
e2ff603587
|
Add Actions job to run macrotest
|
2020-05-05 17:41:35 -07:00 |
|
David Tolnay
|
19a11237b8
|
Regenerate macrotest *.expanded.rs files
This picks up changes from a135199ab1 and 1b35c9e27e.
|
2020-05-05 17:23:30 -07:00 |
|
David Tolnay
|
732544aed6
|
Update to macrotest 1.0
|
2020-05-05 17:23:30 -07:00 |
|
David Tolnay
|
65dfa607c8
|
Update to rustversion 1.0
|
2020-05-05 17:23:30 -07:00 |
|
David Tolnay
|
59104bbc24
|
Remove AppVeyor configuration
|
2020-05-05 17:08:09 -07:00 |
|
David Tolnay
|
38ad09aeb7
|
Add Windows CI in GitHub Actions
|
2020-05-05 17:08:09 -07:00 |
|
David Tolnay
|
02631cef42
|
Remove clippy from main CI workflow
We don't run clippy on PRs. It is covered by a separate clippy.yml
workflow.
|
2020-05-05 17:04:51 -07:00 |
|
David Tolnay
|
f369707dc5
|
Update build status badge to GitHub Actions
|
2020-05-05 16:43:36 -07:00 |
|
David Tolnay
|
e16e924c21
|
Split test suite to its own Actions job
Since this step takes the longest.
|
2020-05-05 16:39:36 -07:00 |
|
David Tolnay
|
8b52ddd5b9
|
Add GitHub Actions workflow to run Clippy
|
2020-05-05 16:34:27 -07:00 |
|
David Tolnay
|
112f2040ea
|
Remove Travis configuration
|
2020-05-05 11:33:56 -07:00 |
|
David Tolnay
|
cd836eb3ca
|
Try caching Cargo index to speed up 1.13 build
This one build always took several (10+) minutes on:
Updating registry `https://github.com/rust-lang/crates.io-index`
|
2020-05-03 17:59:26 -07:00 |
|
David Tolnay
|
2b4355724e
|
Merge pull request #1795 from serde-rs/actions
Enable GitHub Actions
|
2020-05-03 02:38:48 -07:00 |
|
David Tolnay
|
5534bf4df1
|
Enable GitHub Actions
|
2020-05-03 02:23:04 -07:00 |
|
David Tolnay
|
60522937af
|
Remove CI badge from Cargo.toml
Support for badges has been deprecated by crates.io.
|
2020-05-01 21:11:02 -07:00 |
|
David Tolnay
|
29be721f79
|
Work around clippy redundant_field_names bug
|
2020-04-23 11:21:28 -07:00 |
|
David Tolnay
|
0c4ffad9ec
|
Run clippy on latest nightly that has clippy
|
2020-04-23 10:44:12 -07:00 |
|
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 |
|
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 |
|
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.
https://github.com/serde-rs/serde/commit/ee75e6c0e9e5cc359163202554feb00a28b62d0d#diff-c052b162f01a664f8184ef1855d1f1cfL767-R735
https://github.com/serde-rs/serde/commit/cc2558b0dc6fd0a40f45c5c5fc3088332b4d6cdf#diff-c052b162f01a664f8184ef1855d1f1cfL733-R738
https://github.com/serde-rs/serde/commit/9f38ca032e0735109adbde10a9f16822a4b975aa#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 |
|
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 |
|