From eda1e7ab3b8e8ec9fb08ed2a97d4c27112fef60f Mon Sep 17 00:00:00 2001 From: Namekuji Date: Thu, 25 May 2023 21:49:50 -0400 Subject: [PATCH] fix features --- packages/backend/native-utils/crates/database/Cargo.toml | 4 ++-- packages/backend/native-utils/crates/model/Cargo.toml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/backend/native-utils/crates/database/Cargo.toml b/packages/backend/native-utils/crates/database/Cargo.toml index e4c60623e0..4ff4da2b7b 100644 --- a/packages/backend/native-utils/crates/database/Cargo.toml +++ b/packages/backend/native-utils/crates/database/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] -mock = [] +mock = ["sea-orm/mock"] [dependencies] once_cell = "1.17.1" @@ -15,4 +15,4 @@ thiserror = "1.0.40" tokio = { version = "1.28.1", features = ["macros"] } [dev-dependencies] -sea-orm = { version = "0.11.3", features = ["sqlx-postgres", "sqlx-sqlite", "runtime-tokio-rustls", "mock"] } +sea-orm = { version = "0.11.3", features = ["sqlx-sqlite"] } diff --git a/packages/backend/native-utils/crates/model/Cargo.toml b/packages/backend/native-utils/crates/model/Cargo.toml index 8714afdb41..63f53c6306 100644 --- a/packages/backend/native-utils/crates/model/Cargo.toml +++ b/packages/backend/native-utils/crates/model/Cargo.toml @@ -23,4 +23,3 @@ utoipa = "3.3.0" [dev-dependencies] database = { path = "../database", features = ["mock"] } -sea-orm = { version = "0.11.3", features = ["postgres-array", "sqlx-postgres", "runtime-tokio-rustls", "mock"] }