Skip to content

Commit 76729ff

Browse files
dependabot[bot]ahl
andauthored
Bump serde_json from 1.0.143 to 1.0.145 (#1428)
* Bump serde_json from 1.0.143 to 1.0.145 Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.143 to 1.0.145. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](serde-rs/json@v1.0.143...v1.0.145) --- updated-dependencies: - dependency-name: serde_json dependency-version: 1.0.145 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * serde_core fixtures --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam H. Leventhal <[email protected]>
1 parent 08ff92e commit 76729ff

12 files changed

+184
-173
lines changed

Cargo.lock

Lines changed: 17 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dropshot/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ rustls = "0.22.4"
3333
rustls-pemfile = "2.1.3"
3434
scopeguard = "1.2.0"
3535
semver = "1.0.26"
36-
serde_json = "1.0.143"
36+
serde_json = "1.0.145"
3737
serde_path_to_error = "0.1.17"
3838
serde_urlencoded = "0.7.1"
3939
sha1 = "0.10.6"

dropshot/tests/fail/bad_channel4.stderr

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ note: required by a bound in `dropshot::Query`
2020
| pub struct Query<QueryType: DeserializeOwned + JsonSchema + Send + Sync> {
2121
| ^^^^^^^^^^ required by this bound in `Query`
2222

23-
error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>` is not satisfied
23+
error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not satisfied
2424
--> tests/fail/bad_channel4.rs:22:14
2525
|
2626
22 | _params: Query<QueryParams>,
27-
| ^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `QueryParams`
27+
| ^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
2828
|
2929
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
3030
= note: for types from other crates check whether the crate offers a `serde` feature flag
31-
= help: the following other types implement trait `serde::de::Deserialize<'de>`:
31+
= help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
3232
&'a [u8]
3333
&'a camino::Utf8Path
3434
&'a std::path::Path
@@ -38,7 +38,7 @@ error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>
3838
(T0, T1)
3939
(T0, T1, T2)
4040
and $N others
41-
= note: required for `QueryParams` to implement `serde::de::DeserializeOwned`
41+
= note: required for `QueryParams` to implement `serde_core::de::DeserializeOwned`
4242
note: required by a bound in `dropshot::Query`
4343
--> src/extractor/query.rs
4444
|
@@ -71,19 +71,19 @@ note: required by a bound in `dropshot::Query`
7171
| pub struct Query<QueryType: DeserializeOwned + JsonSchema + Send + Sync> {
7272
| ^^^^^^^^^^ required by this bound in `Query`
7373

74-
error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>` is not satisfied
74+
error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not satisfied
7575
--> tests/fail/bad_channel4.rs:20:1
7676
|
7777
20 | / async fn bad_channel(
7878
21 | | _rqctx: RequestContext<()>,
7979
22 | | _params: Query<QueryParams>,
8080
23 | | _upgraded: WebsocketConnection,
8181
24 | | ) -> dropshot::WebsocketChannelResult {
82-
| |_____________________________________^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `QueryParams`
82+
| |_____________________________________^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
8383
|
8484
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
8585
= note: for types from other crates check whether the crate offers a `serde` feature flag
86-
= help: the following other types implement trait `serde::de::Deserialize<'de>`:
86+
= help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
8787
&'a [u8]
8888
&'a camino::Utf8Path
8989
&'a std::path::Path
@@ -93,7 +93,7 @@ error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>
9393
(T0, T1)
9494
(T0, T1, T2)
9595
and $N others
96-
= note: required for `QueryParams` to implement `serde::de::DeserializeOwned`
96+
= note: required for `QueryParams` to implement `serde_core::de::DeserializeOwned`
9797
note: required by a bound in `dropshot::Query`
9898
--> src/extractor/query.rs
9999
|
@@ -126,18 +126,18 @@ note: required by a bound in `dropshot::Query`
126126
| ^^^^^^^^^^ required by this bound in `Query`
127127
= note: this error originates in the attribute macro `channel` (in Nightly builds, run with -Z macro-backtrace for more info)
128128

129-
error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>` is not satisfied
129+
error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not satisfied
130130
--> tests/fail/bad_channel4.rs:16:1
131131
|
132132
16 | / #[channel {
133133
17 | | protocol = WEBSOCKETS,
134134
18 | | path = "/test",
135135
19 | | }]
136-
| |__^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `QueryParams`
136+
| |__^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
137137
|
138138
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
139139
= note: for types from other crates check whether the crate offers a `serde` feature flag
140-
= help: the following other types implement trait `serde::de::Deserialize<'de>`:
140+
= help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
141141
&'a [u8]
142142
&'a camino::Utf8Path
143143
&'a std::path::Path
@@ -147,7 +147,7 @@ error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>
147147
(T0, T1)
148148
(T0, T1, T2)
149149
and $N others
150-
= note: required for `QueryParams` to implement `serde::de::DeserializeOwned`
150+
= note: required for `QueryParams` to implement `serde_core::de::DeserializeOwned`
151151
note: required by a bound in `dropshot::Query`
152152
--> src/extractor/query.rs
153153
|

dropshot/tests/fail/bad_channel5.stderr

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>` is not satisfied
1+
error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not satisfied
22
--> tests/fail/bad_channel5.rs:24:14
33
|
44
24 | _params: Query<QueryParams>,
5-
| ^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `QueryParams`
5+
| ^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
66
|
77
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
88
= note: for types from other crates check whether the crate offers a `serde` feature flag
9-
= help: the following other types implement trait `serde::de::Deserialize<'de>`:
9+
= help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
1010
&'a [u8]
1111
&'a camino::Utf8Path
1212
&'a std::path::Path
@@ -16,26 +16,26 @@ error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>
1616
(T0, T1)
1717
(T0, T1, T2)
1818
and $N others
19-
= note: required for `QueryParams` to implement `serde::de::DeserializeOwned`
19+
= note: required for `QueryParams` to implement `serde_core::de::DeserializeOwned`
2020
note: required by a bound in `dropshot::Query`
2121
--> src/extractor/query.rs
2222
|
2323
| pub struct Query<QueryType: DeserializeOwned + JsonSchema + Send + Sync> {
2424
| ^^^^^^^^^^^^^^^^ required by this bound in `Query`
2525

26-
error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>` is not satisfied
26+
error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not satisfied
2727
--> tests/fail/bad_channel5.rs:22:1
2828
|
2929
22 | / async fn bad_channel(
3030
23 | | _rqctx: RequestContext<()>,
3131
24 | | _params: Query<QueryParams>,
3232
25 | | _upgraded: WebsocketConnection,
3333
26 | | ) -> dropshot::WebsocketChannelResult {
34-
| |_____________________________________^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `QueryParams`
34+
| |_____________________________________^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
3535
|
3636
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
3737
= note: for types from other crates check whether the crate offers a `serde` feature flag
38-
= help: the following other types implement trait `serde::de::Deserialize<'de>`:
38+
= help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
3939
&'a [u8]
4040
&'a camino::Utf8Path
4141
&'a std::path::Path
@@ -45,25 +45,25 @@ error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>
4545
(T0, T1)
4646
(T0, T1, T2)
4747
and $N others
48-
= note: required for `QueryParams` to implement `serde::de::DeserializeOwned`
48+
= note: required for `QueryParams` to implement `serde_core::de::DeserializeOwned`
4949
note: required by a bound in `dropshot::Query`
5050
--> src/extractor/query.rs
5151
|
5252
| pub struct Query<QueryType: DeserializeOwned + JsonSchema + Send + Sync> {
5353
| ^^^^^^^^^^^^^^^^ required by this bound in `Query`
5454

55-
error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>` is not satisfied
55+
error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not satisfied
5656
--> tests/fail/bad_channel5.rs:18:1
5757
|
5858
18 | / #[channel {
5959
19 | | protocol = WEBSOCKETS,
6060
20 | | path = "/test",
6161
21 | | }]
62-
| |__^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `QueryParams`
62+
| |__^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
6363
|
6464
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
6565
= note: for types from other crates check whether the crate offers a `serde` feature flag
66-
= help: the following other types implement trait `serde::de::Deserialize<'de>`:
66+
= help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
6767
&'a [u8]
6868
&'a camino::Utf8Path
6969
&'a std::path::Path
@@ -73,7 +73,7 @@ error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>
7373
(T0, T1)
7474
(T0, T1, T2)
7575
and $N others
76-
= note: required for `QueryParams` to implement `serde::de::DeserializeOwned`
76+
= note: required for `QueryParams` to implement `serde_core::de::DeserializeOwned`
7777
note: required by a bound in `dropshot::Query`
7878
--> src/extractor/query.rs
7979
|

dropshot/tests/fail/bad_endpoint4.stderr

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ note: required by a bound in `dropshot::Query`
2020
| pub struct Query<QueryType: DeserializeOwned + JsonSchema + Send + Sync> {
2121
| ^^^^^^^^^^ required by this bound in `Query`
2222

23-
error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>` is not satisfied
23+
error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not satisfied
2424
--> tests/fail/bad_endpoint4.rs:23:14
2525
|
2626
23 | _params: Query<QueryParams>,
27-
| ^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `QueryParams`
27+
| ^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
2828
|
2929
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
3030
= note: for types from other crates check whether the crate offers a `serde` feature flag
31-
= help: the following other types implement trait `serde::de::Deserialize<'de>`:
31+
= help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
3232
&'a [u8]
3333
&'a camino::Utf8Path
3434
&'a std::path::Path
@@ -38,7 +38,7 @@ error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>
3838
(T0, T1)
3939
(T0, T1, T2)
4040
and $N others
41-
= note: required for `QueryParams` to implement `serde::de::DeserializeOwned`
41+
= note: required for `QueryParams` to implement `serde_core::de::DeserializeOwned`
4242
note: required by a bound in `dropshot::Query`
4343
--> src/extractor/query.rs
4444
|
@@ -70,18 +70,18 @@ note: required by a bound in `dropshot::Query`
7070
| pub struct Query<QueryType: DeserializeOwned + JsonSchema + Send + Sync> {
7171
| ^^^^^^^^^^ required by this bound in `Query`
7272

73-
error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>` is not satisfied
73+
error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not satisfied
7474
--> tests/fail/bad_endpoint4.rs:21:1
7575
|
7676
21 | / async fn bad_endpoint(
7777
22 | | _rqctx: RequestContext<()>,
7878
23 | | _params: Query<QueryParams>,
7979
24 | | ) -> Result<HttpResponseOk<()>, HttpError> {
80-
| |__________________________________________^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `QueryParams`
80+
| |__________________________________________^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
8181
|
8282
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
8383
= note: for types from other crates check whether the crate offers a `serde` feature flag
84-
= help: the following other types implement trait `serde::de::Deserialize<'de>`:
84+
= help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
8585
&'a [u8]
8686
&'a camino::Utf8Path
8787
&'a std::path::Path
@@ -91,7 +91,7 @@ error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>
9191
(T0, T1)
9292
(T0, T1, T2)
9393
and $N others
94-
= note: required for `QueryParams` to implement `serde::de::DeserializeOwned`
94+
= note: required for `QueryParams` to implement `serde_core::de::DeserializeOwned`
9595
note: required by a bound in `dropshot::Query`
9696
--> src/extractor/query.rs
9797
|
@@ -145,18 +145,18 @@ note: required by a bound in `dropshot::Query`
145145
| ^^^^^^^^^^ required by this bound in `Query`
146146
= note: this error originates in the attribute macro `endpoint` (in Nightly builds, run with -Z macro-backtrace for more info)
147147

148-
error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>` is not satisfied
148+
error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not satisfied
149149
--> tests/fail/bad_endpoint4.rs:17:1
150150
|
151151
17 | / #[endpoint {
152152
18 | | method = GET,
153153
19 | | path = "/test",
154154
20 | | }]
155-
| |__^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `QueryParams`
155+
| |__^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
156156
|
157157
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
158158
= note: for types from other crates check whether the crate offers a `serde` feature flag
159-
= help: the following other types implement trait `serde::de::Deserialize<'de>`:
159+
= help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
160160
&'a [u8]
161161
&'a camino::Utf8Path
162162
&'a std::path::Path
@@ -166,7 +166,7 @@ error[E0277]: the trait bound `for<'de> QueryParams: serde::de::Deserialize<'de>
166166
(T0, T1)
167167
(T0, T1, T2)
168168
and $N others
169-
= note: required for `QueryParams` to implement `serde::de::DeserializeOwned`
169+
= note: required for `QueryParams` to implement `serde_core::de::DeserializeOwned`
170170
note: required by a bound in `dropshot::Query`
171171
--> src/extractor/query.rs
172172
|

0 commit comments

Comments
 (0)