Skip to content

Commit e91d117

Browse files
committed
Enable #![deny(warnings)] on the main crate
1 parent 498da19 commit e91d117

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
//!
33
//! The main interface to this library is the custom derive that generates modules from a GraphQL query and schema. See the docs for the [`GraphQLQuery`] trait for a full example.
44
5+
#![deny(warnings)]
56
#![deny(missing_docs)]
67

78
extern crate serde;
89
#[macro_use]
910
extern crate serde_derive;
10-
#[macro_use]
11-
extern crate graphql_query_derive;
11+
pub extern crate graphql_query_derive;
1212

13-
#[macro_use]
13+
#[cfg_attr(test, macro_use)]
1414
extern crate serde_json;
1515

1616
#[doc(hidden)]

0 commit comments

Comments
 (0)