David Tolnay
0d71ac84b5
Render 128-bit integer value into Visitor errors
2022-01-25 12:06:35 -08:00
David Tolnay
82c3eb7ba4
Add test of visitor error messages
2022-01-25 11:24:53 -08:00
David Tolnay
8932c852a5
Release 1.0.135
2022-01-22 16:04:17 -08:00
David Tolnay
9f3dd3c7c4
Merge pull request #2163 from serde-rs/discord
...
Add discord invite links
2022-01-22 11:23:32 -08:00
David Tolnay
dd9b415ff9
Add discord invite links
2022-01-22 11:21:08 -08:00
David Tolnay
3bb4a5a4f6
Release 1.0.134
2022-01-20 22:22:30 -08:00
David Tolnay
6164627bea
Merge pull request #2159 from serde-rs/nonzero
...
Write better Visitor for NonZero integers
2022-01-20 22:22:02 -08:00
David Tolnay
51aaf496d4
Write better Visitor for NonZero integers
2022-01-20 22:15:16 -08:00
David Tolnay
bc66aeb0d3
Add tests of deserializing NonZero
2022-01-20 21:55:50 -08:00
David Tolnay
7e7044d457
Ignore clippy in number conversion tests
2022-01-20 21:38:31 -08:00
David Tolnay
5498dc0550
Add tests of num conversion errors
2022-01-20 21:37:16 -08:00
David Tolnay
ff04e8be9b
Improve coverage of num conversion in test suite
2022-01-20 21:16:50 -08:00
David Tolnay
69240c17c5
Eliminate macro from serialization tests
2022-01-20 20:37:08 -08:00
David Tolnay
237434f19c
Accept ?Sized references in assert_ser_tokens
2022-01-20 20:21:04 -08:00
David Tolnay
1833914346
Eliminate macro from deserialization error tests
2022-01-20 19:58:45 -08:00
David Tolnay
ab848060f2
Extract tests of deserialization errors to separate file
2022-01-20 19:58:01 -08:00
David Tolnay
7e39623f72
Implement test suite seq macro without tt muncher
2022-01-20 19:40:58 -08:00
David Tolnay
157dc44c51
Clean up test suite's macro formatting
2022-01-20 19:40:32 -08:00
David Tolnay
80d01a3a79
Tweak seq iterators in test suite
2022-01-20 19:40:13 -08:00
David Tolnay
343c060fc1
Adapt seq macro to not derail rustfmt
2022-01-20 19:38:51 -08:00
David Tolnay
21c1ab6c50
Format deserialization tests with rustfmt
2022-01-20 19:24:35 -08:00
David Tolnay
594ab7745d
Reimplement deserialization tests without macro
2022-01-20 18:09:48 -08:00
David Tolnay
8cf0ba7fe2
Make serde_test build script buildable with older rustc
2022-01-20 17:59:21 -08:00
David Tolnay
34b52c0b83
Include build script in packaged serde_test crate
2022-01-20 17:52:25 -08:00
David Tolnay
ec7ddc93cd
Include 128-bit integers in test suite unconditionally
2022-01-20 15:45:07 -08:00
David Tolnay
55a7cedd73
Invert all build.rs cfgs
...
This allows non-Cargo builds to generally not get involved in cfgs. As
long as one is using a reasonably recent toolchain, no cfgs need to be
set and you'll get a fully-featured build.
2022-01-01 21:09:49 -08:00
David Tolnay
7af97c66b8
Release 1.0.133
2022-01-01 13:16:35 -08:00
David Tolnay
1f57084365
Merge pull request #2148 from serde-rs/deserializecontent
...
Optimize deserialization of recursive buffered types
2022-01-01 13:16:02 -08:00
David Tolnay
56bd369422
Optimize deserialization of recursive buffered types
2022-01-01 13:01:38 -08:00
David Tolnay
ff259ec66b
Detect warnings in CI
2022-01-01 11:52:55 -08:00
David Tolnay
6c54aafeb9
Document the atomic ordering in the Serialize impl
2021-12-23 11:44:31 -08:00
David Tolnay
5d41404e67
No need for the SeqCst load in test suite
2021-12-23 11:42:41 -08:00
David Tolnay
1eccb3c350
Resolve unnecessary_to_owned clippy lint in test suite
...
error: unnecessary use of `to_vec`
--> test_suite/tests/test_de.rs:251:12
|
251 | .chain(ignorable_tokens.to_vec().into_iter())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `ignorable_tokens.iter().copied()`
|
= note: `-D clippy::unnecessary-to-owned` implied by `-D clippy::all`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
2021-12-17 18:25:04 -08:00
David Tolnay
77ae1c3bf7
Release 1.0.132
2021-12-16 11:06:42 -08:00
David Tolnay
b85e28166c
Update path to rustc target spec files
2021-12-16 11:05:58 -08:00
David Tolnay
0508cb50fc
Merge pull request #2141 from Avimitin/risc-v
...
Enable atomic64 on riscv64 arch
2021-12-16 11:05:14 -08:00
Avimitin
84fdc7df69
Enable atomic64 on riscv64 arch
...
Signed-off-by: Avimitin <avimitin@gmail.com>
2021-12-14 20:30:28 +08:00
David Tolnay
ab1ca04b2e
Release 1.0.131
2021-12-08 18:47:15 -08:00
David Tolnay
fb2fe409c8
Touch up PR 2116
2021-12-08 18:44:41 -08:00
David Tolnay
549fac7235
Merge pull request #2116 from tyranron/fix-unused-results
...
Fix `unused_results` complaining rustc lint in codegen for adjacently tagged enum
2021-12-08 18:43:31 -08:00
David Tolnay
c375d8b19b
Merge pull request #2124 from dtolnay/cbor
...
Change cbor link to new repo
2021-11-26 14:48:40 -08:00
David Tolnay
6cf507f808
Change cbor link to new repo
2021-11-26 14:43:09 -08:00
David Tolnay
c3c1641c06
Remove workaround for redundant_field_names Clippy bug
2021-11-04 20:23:25 -07:00
David Tolnay
1fcda0ebdb
Enable pedantic lints on test suite in CI
2021-11-04 20:21:48 -07:00
David Tolnay
8f16ac0a94
Move deny(clippy) to command line arguments in the CI job
2021-11-04 20:09:35 -07:00
David Tolnay
737f78c315
Ignore enum_variant_names Clippy lint in test suite
...
error: all variants have the same prefix: `Serialize`
--> test_suite/tests/test_macros.rs:1741:5
|
1741 | / enum E {
1742 | | #[serde(rename_all = "camelCase")]
1743 | | Serialize {
1744 | | serialize: bool,
... |
1756 | | },
1757 | | }
| |_____^
|
= note: `-D clippy::enum-variant-names` implied by `-D clippy::all`
= help: remove the prefixes and use full paths to the variants instead of glob imports
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
2021-11-04 20:06:02 -07:00
David Tolnay
4a97386cb9
Clippy if_then_panic lint has been renamed to manual_assert
2021-11-04 19:57:14 -07:00
tyranron
5b32217877
Fix unused_results
complaining rustc lint in codegen for adjacently tagged enum
2021-10-29 14:13:26 +03:00
David Tolnay
5b140361a3
Merge pull request #2102 from atouchet/url
...
Update URL
2021-10-14 16:33:22 -07:00
Alex Touchet
678351eac7
Update URL
2021-10-14 16:27:49 -07:00