diff --git a/src/api/auth/mod.rs b/src/api/auth/mod.rs index 79c5c30..5bd539f 100644 --- a/src/api/auth/mod.rs +++ b/src/api/auth/mod.rs @@ -4,7 +4,10 @@ use std::sync::{Arc, RwLock}; +#[allow(unused_imports)] pub use login::*; + +#[allow(unused_imports)] pub use register::*; use crate::gateway::Gateway; diff --git a/src/api/channels/mod.rs b/src/api/channels/mod.rs index 73ae99c..a8c3047 100644 --- a/src/api/channels/mod.rs +++ b/src/api/channels/mod.rs @@ -2,6 +2,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(unused_imports)] pub use channels::*; pub use messages::*; pub use permissions::*; diff --git a/src/api/guilds/mod.rs b/src/api/guilds/mod.rs index dcd2552..e8304a1 100644 --- a/src/api/guilds/mod.rs +++ b/src/api/guilds/mod.rs @@ -2,6 +2,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(unused_imports)] pub use guilds::*; pub use messages::*; pub use roles::*; diff --git a/src/api/mod.rs b/src/api/mod.rs index 963a9e4..c9ca279 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -3,6 +3,8 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. //! All of the API's endpoints. + +#![allow(unused_imports)] pub use channels::messages::*; pub use guilds::*; pub use invites::*; diff --git a/src/api/policies/instance/mod.rs b/src/api/policies/instance/mod.rs index 8cdb125..e2b97e1 100644 --- a/src/api/policies/instance/mod.rs +++ b/src/api/policies/instance/mod.rs @@ -2,6 +2,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(unused_imports)] pub use instance::*; pub mod instance; diff --git a/src/api/users/mod.rs b/src/api/users/mod.rs index fea9f69..b11772a 100644 --- a/src/api/users/mod.rs +++ b/src/api/users/mod.rs @@ -2,6 +2,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(unused_imports)] pub use channels::*; pub use guilds::*; pub use relationships::*; diff --git a/src/types/interfaces/mod.rs b/src/types/interfaces/mod.rs index 309020d..b5742d6 100644 --- a/src/types/interfaces/mod.rs +++ b/src/types/interfaces/mod.rs @@ -2,6 +2,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(unused_imports)] pub use activity::*; pub use connected_account::*; pub use guild_welcome_screen::*; diff --git a/src/types/utils/mod.rs b/src/types/utils/mod.rs index a160260..8879688 100644 --- a/src/types/utils/mod.rs +++ b/src/types/utils/mod.rs @@ -2,6 +2,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(unused_imports)] pub use regexes::*; pub use rights::Rights; pub use snowflake::Snowflake;