diff --git a/juniper/Cargo.toml b/juniper/Cargo.toml index 9ff926d4..82ef9d53 100644 --- a/juniper/Cargo.toml +++ b/juniper/Cargo.toml @@ -85,3 +85,6 @@ tokio = { version = "1.0", features = ["macros", "time", "rt-multi-thread"] } name = "bench" harness = false path = "benches/bench.rs" + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } \ No newline at end of file diff --git a/juniper_actix/src/lib.rs b/juniper_actix/src/lib.rs index 4e8e6331..78106200 100644 --- a/juniper_actix/src/lib.rs +++ b/juniper_actix/src/lib.rs @@ -230,8 +230,8 @@ pub mod subscriptions { /// an authentication based on the parameters provided by a client. /// /// > __WARNING__: This protocol has been deprecated in favor of the - /// [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is - /// provided by the [`graphql_transport_ws_handler()`] function. + /// > [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is + /// > provided by the [`graphql_transport_ws_handler()`] function. /// /// [new]: https://github.com/enisdenjo/graphql-ws/blob/v5.14.0/PROTOCOL.md /// [old]: https://github.com/apollographql/subscriptions-transport-ws/blob/v0.11.0/PROTOCOL.md diff --git a/juniper_axum/src/lib.rs b/juniper_axum/src/lib.rs index 205669a6..20c2099f 100644 --- a/juniper_axum/src/lib.rs +++ b/juniper_axum/src/lib.rs @@ -67,7 +67,6 @@ pub use self::subscriptions::{graphql_transport_ws, graphql_ws, ws}; /// /// [`extract`]: axum::extract /// [`Handler`]: axum::handler::Handler -#[cfg_attr(text, axum::debug_handler)] pub async fn graphql<S>( Extension(schema): Extension<S>, JuniperRequest(req): JuniperRequest<S::ScalarValue>, diff --git a/juniper_warp/src/subscriptions.rs b/juniper_warp/src/subscriptions.rs index 6511c235..d54597e4 100644 --- a/juniper_warp/src/subscriptions.rs +++ b/juniper_warp/src/subscriptions.rs @@ -232,8 +232,8 @@ where /// an authentication based on the parameters provided by a client. /// /// > __WARNING__: This protocol has been deprecated in favor of the -/// [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is -/// provided by the [`serve_graphql_transport_ws()`] function. +/// > [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is +/// > provided by the [`serve_graphql_transport_ws()`] function. /// /// [new]: https://github.com/enisdenjo/graphql-ws/blob/v5.14.0/PROTOCOL.md /// [old]: https://github.com/apollographql/subscriptions-transport-ws/blob/v0.11.0/PROTOCOL.md