Skip to content

Commit 7db44c0

Browse files
committed
Tune lints for 1.80 Rust
1 parent 5447cc6 commit 7db44c0

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

juniper/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,6 @@ tokio = { version = "1.0", features = ["macros", "time", "rt-multi-thread"] }
8585
name = "bench"
8686
harness = false
8787
path = "benches/bench.rs"
88+
89+
[lints.rust]
90+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }

juniper_actix/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ pub mod subscriptions {
230230
/// an authentication based on the parameters provided by a client.
231231
///
232232
/// > __WARNING__: This protocol has been deprecated in favor of the
233-
/// [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is
234-
/// provided by the [`graphql_transport_ws_handler()`] function.
233+
/// > [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is
234+
/// > provided by the [`graphql_transport_ws_handler()`] function.
235235
///
236236
/// [new]: https://github.com/enisdenjo/graphql-ws/blob/v5.14.0/PROTOCOL.md
237237
/// [old]: https://github.com/apollographql/subscriptions-transport-ws/blob/v0.11.0/PROTOCOL.md

juniper_axum/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ pub use self::subscriptions::{graphql_transport_ws, graphql_ws, ws};
6767
///
6868
/// [`extract`]: axum::extract
6969
/// [`Handler`]: axum::handler::Handler
70-
#[cfg_attr(text, axum::debug_handler)]
7170
pub async fn graphql<S>(
7271
Extension(schema): Extension<S>,
7372
JuniperRequest(req): JuniperRequest<S::ScalarValue>,

juniper_warp/src/subscriptions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ where
232232
/// an authentication based on the parameters provided by a client.
233233
///
234234
/// > __WARNING__: This protocol has been deprecated in favor of the
235-
/// [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is
236-
/// provided by the [`serve_graphql_transport_ws()`] function.
235+
/// > [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is
236+
/// > provided by the [`serve_graphql_transport_ws()`] function.
237237
///
238238
/// [new]: https://github.com/enisdenjo/graphql-ws/blob/v5.14.0/PROTOCOL.md
239239
/// [old]: https://github.com/apollographql/subscriptions-transport-ws/blob/v0.11.0/PROTOCOL.md

0 commit comments

Comments
 (0)