Skip to content

Commit aab9ac7

Browse files
committed
Remove #![deny(warnings)] when not linting for better compatibility with future Rust versions
1 parent 99436fe commit aab9ac7

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

juniper_actix/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#![cfg_attr(docsrs, feature(doc_cfg))]
22
#![cfg_attr(any(doc, test), doc = include_str!("../README.md"))]
33
#![cfg_attr(not(any(doc, test)), doc = env!("CARGO_PKG_NAME"))]
4-
#![deny(missing_docs)]
5-
#![deny(warnings)]
4+
#![warn(missing_docs)]
65

76
use actix_web::{
87
Error, FromRequest, HttpMessage, HttpRequest, HttpResponse, error::JsonPayloadError,

juniper_graphql_ws/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
22
#![cfg_attr(any(doc, test), doc = include_str!("../README.md"))]
33
#![cfg_attr(not(any(doc, test)), doc = env!("CARGO_PKG_NAME"))]
4-
#![deny(missing_docs, warnings)]
4+
#![warn(missing_docs)]
55

66
#[cfg(not(any(feature = "graphql-transport-ws", feature = "graphql-ws")))]
77
compile_error!(

juniper_subscriptions/examples/basic.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![deny(warnings)]
2-
31
use std::pin::Pin;
42

53
use futures::{Stream, StreamExt};

juniper_subscriptions/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#![cfg_attr(any(doc, test), doc = include_str!("../README.md"))]
22
#![cfg_attr(not(any(doc, test)), doc = env!("CARGO_PKG_NAME"))]
3-
#![deny(missing_docs)]
4-
#![deny(warnings)]
3+
#![warn(missing_docs)]
54

65
use std::{
76
pin::Pin,

0 commit comments

Comments
 (0)