diff --git a/deepwell/src/endpoints/mod.rs b/deepwell/src/endpoints/mod.rs index a159ba91fa..297433c2b6 100644 --- a/deepwell/src/endpoints/mod.rs +++ b/deepwell/src/endpoints/mod.rs @@ -28,6 +28,7 @@ //! around service calls, or possibly perform modest data conversion for HTTP. mod prelude { + #![allow(unused_imports)] pub use crate::api::ServerState; pub use crate::services::{ AliasService, BlobService, CategoryService, DomainService, Error as ServiceError, diff --git a/deepwell/src/services/alias/mod.rs b/deepwell/src/services/alias/mod.rs index 9ea9f59d0c..3c8edb6577 100644 --- a/deepwell/src/services/alias/mod.rs +++ b/deepwell/src/services/alias/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/authentication/mod.rs b/deepwell/src/services/authentication/mod.rs index 95eec0f482..8752369370 100644 --- a/deepwell/src/services/authentication/mod.rs +++ b/deepwell/src/services/authentication/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/blob/mod.rs b/deepwell/src/services/blob/mod.rs index d4a777e353..b82a611689 100644 --- a/deepwell/src/services/blob/mod.rs +++ b/deepwell/src/services/blob/mod.rs @@ -25,6 +25,7 @@ //! service instead, for instance the `FileService`. mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; pub use crate::hash::{blob_hash_to_hex, sha512_hash, BlobHash}; diff --git a/deepwell/src/services/category/mod.rs b/deepwell/src/services/category/mod.rs index d7957a58a1..b9ea1f021d 100644 --- a/deepwell/src/services/category/mod.rs +++ b/deepwell/src/services/category/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/domain/mod.rs b/deepwell/src/services/domain/mod.rs index 242af8f962..858c3b1478 100644 --- a/deepwell/src/services/domain/mod.rs +++ b/deepwell/src/services/domain/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/email/mod.rs b/deepwell/src/services/email/mod.rs index 0165908672..ccc73f0efd 100644 --- a/deepwell/src/services/email/mod.rs +++ b/deepwell/src/services/email/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/file/mod.rs b/deepwell/src/services/file/mod.rs index 683e5e208a..0b3ecba5f3 100644 --- a/deepwell/src/services/file/mod.rs +++ b/deepwell/src/services/file/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/file_revision/mod.rs b/deepwell/src/services/file_revision/mod.rs index 1e084a3de8..eaca167902 100644 --- a/deepwell/src/services/file_revision/mod.rs +++ b/deepwell/src/services/file_revision/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; pub use crate::hash::BlobHash; diff --git a/deepwell/src/services/filter/mod.rs b/deepwell/src/services/filter/mod.rs index ad6a96e1c2..0711e1e60a 100644 --- a/deepwell/src/services/filter/mod.rs +++ b/deepwell/src/services/filter/mod.rs @@ -28,6 +28,7 @@ //! joining. mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::matcher::{FilterMatcher, FilterSummary}; pub use super::structs::*; diff --git a/deepwell/src/services/import/mod.rs b/deepwell/src/services/import/mod.rs index 541f3ee5b1..2eb54c116e 100644 --- a/deepwell/src/services/import/mod.rs +++ b/deepwell/src/services/import/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/interaction/mod.rs b/deepwell/src/services/interaction/mod.rs index a623468088..bb4b97fae0 100644 --- a/deepwell/src/services/interaction/mod.rs +++ b/deepwell/src/services/interaction/mod.rs @@ -30,6 +30,7 @@ //! * `user` / `block` / `user` — User has blocked another user mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::*; pub use crate::models::interaction::Model as InteractionModel; diff --git a/deepwell/src/services/job/mod.rs b/deepwell/src/services/job/mod.rs index 69652da8ec..13ecd2fe52 100644 --- a/deepwell/src/services/job/mod.rs +++ b/deepwell/src/services/job/mod.rs @@ -24,6 +24,7 @@ //! can mean that if this DEEPWELL node fails, the queued jobs will not be run. mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/link/mod.rs b/deepwell/src/services/link/mod.rs index 5a202d45d0..a34df39d65 100644 --- a/deepwell/src/services/link/mod.rs +++ b/deepwell/src/services/link/mod.rs @@ -36,6 +36,7 @@ //! clear enough to be acceptable when repeated over a few slightly distinct cases. mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/message/mod.rs b/deepwell/src/services/message/mod.rs index 5ca21c3711..7317156f75 100644 --- a/deepwell/src/services/message/mod.rs +++ b/deepwell/src/services/message/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/message_report/mod.rs b/deepwell/src/services/message_report/mod.rs index 78951f71f3..13fed75a2d 100644 --- a/deepwell/src/services/message_report/mod.rs +++ b/deepwell/src/services/message_report/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/mfa/mod.rs b/deepwell/src/services/mfa/mod.rs index 433c91b91a..92e66d53a9 100644 --- a/deepwell/src/services/mfa/mod.rs +++ b/deepwell/src/services/mfa/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/mod.rs b/deepwell/src/services/mod.rs index bf6e9bf201..5d113a7c16 100644 --- a/deepwell/src/services/mod.rs +++ b/deepwell/src/services/mod.rs @@ -35,6 +35,7 @@ //! services or by route implementations found in the `methods` module. mod prelude { + #![allow(unused_imports)] pub use super::context::ServiceContext; pub use super::error::*; pub use crate::config::Config; diff --git a/deepwell/src/services/page/mod.rs b/deepwell/src/services/page/mod.rs index 41ab37f5d8..dd37947d31 100644 --- a/deepwell/src/services/page/mod.rs +++ b/deepwell/src/services/page/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/page_query/mod.rs b/deepwell/src/services/page_query/mod.rs index 80f194e706..2afc57075c 100644 --- a/deepwell/src/services/page_query/mod.rs +++ b/deepwell/src/services/page_query/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/page_revision/mod.rs b/deepwell/src/services/page_revision/mod.rs index 33e22148ac..8cf047edf4 100644 --- a/deepwell/src/services/page_revision/mod.rs +++ b/deepwell/src/services/page_revision/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; pub use super::tasks::PageRevisionTasks; diff --git a/deepwell/src/services/parent/mod.rs b/deepwell/src/services/parent/mod.rs index a15c36029b..5b0831ca6b 100644 --- a/deepwell/src/services/parent/mod.rs +++ b/deepwell/src/services/parent/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/render/mod.rs b/deepwell/src/services/render/mod.rs index 0ff467eecf..4ae92eb2a3 100644 --- a/deepwell/src/services/render/mod.rs +++ b/deepwell/src/services/render/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; pub use ftml::{ diff --git a/deepwell/src/services/score/mod.rs b/deepwell/src/services/score/mod.rs index 4fc4d0ad7d..15ee49ddfb 100644 --- a/deepwell/src/services/score/mod.rs +++ b/deepwell/src/services/score/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; pub use super::Scorer; diff --git a/deepwell/src/services/session/mod.rs b/deepwell/src/services/session/mod.rs index 73e866d79d..6019ced67d 100644 --- a/deepwell/src/services/session/mod.rs +++ b/deepwell/src/services/session/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/site/mod.rs b/deepwell/src/services/site/mod.rs index 8df557349d..b72cdb7397 100644 --- a/deepwell/src/services/site/mod.rs +++ b/deepwell/src/services/site/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/special_page/mod.rs b/deepwell/src/services/special_page/mod.rs index 68686feff9..70119a7bdc 100644 --- a/deepwell/src/services/special_page/mod.rs +++ b/deepwell/src/services/special_page/mod.rs @@ -24,6 +24,7 @@ //! which display custom "this page does not exist" content. mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/user/mod.rs b/deepwell/src/services/user/mod.rs index d8ab40d3ea..d7714fa628 100644 --- a/deepwell/src/services/user/mod.rs +++ b/deepwell/src/services/user/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/user_bot_owner/mod.rs b/deepwell/src/services/user_bot_owner/mod.rs index 03b4170ce5..314c423422 100644 --- a/deepwell/src/services/user_bot_owner/mod.rs +++ b/deepwell/src/services/user_bot_owner/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; } diff --git a/deepwell/src/services/view/mod.rs b/deepwell/src/services/view/mod.rs index 8d3f7679ea..4971147588 100644 --- a/deepwell/src/services/view/mod.rs +++ b/deepwell/src/services/view/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::options::PageOptions; pub use super::structs::*; diff --git a/deepwell/src/services/vote/mod.rs b/deepwell/src/services/vote/mod.rs index bc5eba4451..b7b1518b20 100644 --- a/deepwell/src/services/vote/mod.rs +++ b/deepwell/src/services/vote/mod.rs @@ -19,6 +19,7 @@ */ mod prelude { + #![allow(unused_imports)] pub use super::super::prelude::*; pub use super::structs::*; }