chore: lints

This commit is contained in:
realaravinth
2022-05-11 20:11:11 +05:30
parent 96995bc068
commit f165581e17
8 changed files with 4 additions and 13 deletions

View File

@@ -31,10 +31,7 @@
//! - [errors](crate::auth): error data structures used in this crate
//! - [ops](crate::ops): meta operations like connection pool creation, migrations and getting
//! connection from pool
use std::str::FromStr;
use serde::{Deserialize, Serialize};
use url::Url;
pub mod errors;
pub mod ops;

View File

@@ -15,7 +15,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
use db_core::dev::*;
use std::str::FromStr;
use sqlx::postgres::PgPoolOptions;
use sqlx::types::time::OffsetDateTime;

View File

@@ -14,12 +14,13 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#![cfg(test)]
use sqlx::postgres::PgPoolOptions;
use std::env;
use crate::*;
use db_core::prelude::*;
use db_core::tests::*;
#[actix_rt::test]