David Tolnay
3bfd41d624
Format doctests using rustfmt's format_code_in_doc_comments
...
cargo fmt -- --config format_code_in_doc_comments=true
2023-07-06 15:44:32 -07:00
David Tolnay
290449f19b
Fix doc tests to work whether or not serde derive feature is used
2023-07-06 15:40:12 -07:00
David Tolnay
0666fbfa20
Update documentation example code to 2021 edition
2023-07-06 15:17:05 -07:00
David Tolnay
48479e4bae
Release 1.0.166
2023-07-03 11:33:19 -07:00
David Tolnay
dcbc3e0162
Release 1.0.165
2023-07-03 04:21:59 -07:00
David Tolnay
20a48c9580
Remove .clippy.toml in favor of respecting rust-version from Cargo.toml
2023-06-15 18:31:38 -07:00
David Tolnay
107018c628
Release 1.0.164
2023-06-07 22:05:07 -07:00
David Tolnay
fccb9499bc
Release 1.0.163
2023-05-10 00:47:53 -07:00
David Tolnay
99f165b45a
Release 1.0.162
2023-05-04 18:46:55 -07:00
David Tolnay
bd9e9abf35
Reimplement tests that touched serde_test internal API
2023-05-04 17:38:58 -07:00
David Tolnay
3e4a23cbd0
Release 1.0.161
2023-05-04 16:45:18 -07:00
David Tolnay
6326ceec3f
Don't panic in serde_test on running out of tokens
2023-05-04 16:38:20 -07:00
David Tolnay
8f4d37c7ec
Convert serde_test's assert_next_token from macro to function
2023-05-04 16:34:14 -07:00
David Tolnay
1b8290b318
Convert serde_test's unexpected from macro to function
2023-05-04 16:30:34 -07:00
Mingun
ac8ea72d88
Don't panic in serde_test
...
Panics lead to reporting errors in tests inside of serde_test internals,
returning errors moves the report location to the corresponding assert_tokens
expression
2023-04-30 00:06:51 +05:00
David Tolnay
0c6a2bbf79
Release 1.0.160
2023-04-10 22:15:49 -07:00
David Tolnay
d6de911855
Release 1.0.159
2023-03-27 22:05:58 -07:00
David Tolnay
e3058105f0
Release 1.0.158
2023-03-20 04:24:27 -07:00
David Tolnay
479a00a215
Release 1.0.157
2023-03-17 17:35:09 -07:00
David Tolnay
54671259aa
Release 1.0.156
2023-03-14 01:02:18 -07:00
David Tolnay
2ba406726f
Release 1.0.155
2023-03-11 12:57:53 -08:00
David Tolnay
6a5da85fcd
Release 1.0.154
2023-03-08 12:09:05 -08:00
David Tolnay
e50b14afee
Release 1.0.153
2023-03-07 10:50:02 -08:00
David Tolnay
d81f0ef652
Update rust-version metadata and readme to match CI
2023-01-12 21:19:16 -08:00
David Tolnay
ccf9c6fc07
Release 1.0.152
2022-12-26 09:21:13 -08:00
David Tolnay
938ab5ddec
Replace docs.serde.rs links with intra-rustdoc links
2022-12-18 11:48:57 -08:00
David Tolnay
ef5a0de384
Point documentation links to docs.rs instead of docs.serde.rs
2022-12-18 11:45:23 -08:00
David Tolnay
5d186c77a6
Opt out -Zrustdoc-scrape-examples on docs.rs
...
I'd like a chance to audit all the code that rustdoc is inserting into
the docs. Currently I am skeptical that showing serde's internal usages
of APIs is a net benefit to the public documentation. I am also
skeptical that quite so many examples are needed, and that they should
be featured so prominently in comparison to handwritten docs. Lastly I
wish there were a way to turn this behavior off on a more granular
basis.
2022-12-18 09:31:17 -08:00
David Tolnay
44bf3633af
Release 1.0.151
2022-12-16 10:35:12 -08:00
David Tolnay
4f157a8b81
Prevent build.rs rerunning unnecessarily on all source changes
2022-12-12 14:37:41 -08:00
David Tolnay
d493649f52
Release 1.0.150
2022-12-11 16:24:46 -08:00
David Tolnay
0353354d61
Release 1.0.149
2022-12-04 23:11:59 -08:00
David Tolnay
7766103174
Release 1.0.148
2022-11-27 17:58:18 -08:00
David Tolnay
f41509261e
Release 1.0.147
2022-10-21 10:04:43 -07:00
David Tolnay
3fd8e52f0c
Release 1.0.146
2022-10-21 01:03:47 -07:00
David Tolnay
8c036ee5a3
Release 1.0.145
2022-09-22 10:50:08 -07:00
David Tolnay
a7f4551669
Add dev-dependencies keyword for serde_test
2022-08-30 22:52:10 -07:00
David Tolnay
f52d134c14
Release 1.0.144
2022-08-20 20:24:28 -07:00
David Tolnay
3d0251666e
Release 1.0.143
2022-08-08 19:12:43 -07:00
Taiki Endo
a5fd85a9ef
Invert build.rs cfgs in serde_test
2022-08-04 20:20:31 +09:00
David Tolnay
abb2a8494d
Release 1.0.142
2022-08-03 07:09:15 -07:00
David Tolnay
a31d0be191
Update keywords in crates.io metadata
2022-08-02 10:38:57 -07:00
David Tolnay
d786e750d7
Release 1.0.141
2022-08-01 08:50:46 -07:00
David Tolnay
85e72653c8
Add categories to crates.io metadata
2022-08-01 00:06:49 -07:00
David Tolnay
a925ce4119
Sort package entries in Cargo.toml
2022-07-31 19:19:07 -07:00
David Tolnay
c5f6338ce2
Release 1.0.140
2022-07-20 09:26:28 -07:00
David Tolnay
44b9496c91
Release 1.0.139
2022-07-10 21:51:21 -07:00
David Tolnay
4b622f6bbf
Release 1.0.138
2022-07-01 20:09:56 -07:00
David Tolnay
c6c35b5a31
Ignore buggy doc_link_with_quotes clippy lint
...
https://github.com/rust-lang/rust-clippy/issues/8961
error: possible intra-doc link using quotes instead of backticks
--> serde_test/src/token.rs:277:5
|
277 | /// let vec = vec!['a', 'b', 'c'];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::doc-link-with-quotes` implied by `-D clippy::pedantic`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_link_with_quotes
2022-06-07 00:30:50 -07:00
David Tolnay
17c3c0cf86
Release 1.0.137
2022-04-30 21:45:31 -07:00