Tune lints for 1.80 Rust
This commit is contained in:
parent
5447cc63de
commit
7db44c0b28
4 changed files with 7 additions and 5 deletions
|
@ -85,3 +85,6 @@ tokio = { version = "1.0", features = ["macros", "time", "rt-multi-thread"] }
|
||||||
name = "bench"
|
name = "bench"
|
||||||
harness = false
|
harness = false
|
||||||
path = "benches/bench.rs"
|
path = "benches/bench.rs"
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
|
|
@ -230,8 +230,8 @@ pub mod subscriptions {
|
||||||
/// an authentication based on the parameters provided by a client.
|
/// an authentication based on the parameters provided by a client.
|
||||||
///
|
///
|
||||||
/// > __WARNING__: This protocol has been deprecated in favor of the
|
/// > __WARNING__: This protocol has been deprecated in favor of the
|
||||||
/// [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is
|
/// > [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is
|
||||||
/// provided by the [`graphql_transport_ws_handler()`] function.
|
/// > provided by the [`graphql_transport_ws_handler()`] function.
|
||||||
///
|
///
|
||||||
/// [new]: https://github.com/enisdenjo/graphql-ws/blob/v5.14.0/PROTOCOL.md
|
/// [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
|
/// [old]: https://github.com/apollographql/subscriptions-transport-ws/blob/v0.11.0/PROTOCOL.md
|
||||||
|
|
|
@ -67,7 +67,6 @@ pub use self::subscriptions::{graphql_transport_ws, graphql_ws, ws};
|
||||||
///
|
///
|
||||||
/// [`extract`]: axum::extract
|
/// [`extract`]: axum::extract
|
||||||
/// [`Handler`]: axum::handler::Handler
|
/// [`Handler`]: axum::handler::Handler
|
||||||
#[cfg_attr(text, axum::debug_handler)]
|
|
||||||
pub async fn graphql<S>(
|
pub async fn graphql<S>(
|
||||||
Extension(schema): Extension<S>,
|
Extension(schema): Extension<S>,
|
||||||
JuniperRequest(req): JuniperRequest<S::ScalarValue>,
|
JuniperRequest(req): JuniperRequest<S::ScalarValue>,
|
||||||
|
|
|
@ -232,8 +232,8 @@ where
|
||||||
/// an authentication based on the parameters provided by a client.
|
/// an authentication based on the parameters provided by a client.
|
||||||
///
|
///
|
||||||
/// > __WARNING__: This protocol has been deprecated in favor of the
|
/// > __WARNING__: This protocol has been deprecated in favor of the
|
||||||
/// [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is
|
/// > [new `graphql-transport-ws` GraphQL over WebSocket Protocol][new], which is
|
||||||
/// provided by the [`serve_graphql_transport_ws()`] function.
|
/// > provided by the [`serve_graphql_transport_ws()`] function.
|
||||||
///
|
///
|
||||||
/// [new]: https://github.com/enisdenjo/graphql-ws/blob/v5.14.0/PROTOCOL.md
|
/// [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
|
/// [old]: https://github.com/apollographql/subscriptions-transport-ws/blob/v0.11.0/PROTOCOL.md
|
||||||
|
|
Loading…
Add table
Reference in a new issue