fix features

This commit is contained in:
Namekuji 2023-05-25 21:49:50 -04:00
parent 00ba8a2804
commit eda1e7ab3b
No known key found for this signature in database
GPG key ID: B541BD6E646CABC7
2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features] [features]
mock = [] mock = ["sea-orm/mock"]
[dependencies] [dependencies]
once_cell = "1.17.1" once_cell = "1.17.1"
@ -15,4 +15,4 @@ thiserror = "1.0.40"
tokio = { version = "1.28.1", features = ["macros"] } tokio = { version = "1.28.1", features = ["macros"] }
[dev-dependencies] [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"] }

View file

@ -23,4 +23,3 @@ utoipa = "3.3.0"
[dev-dependencies] [dev-dependencies]
database = { path = "../database", features = ["mock"] } database = { path = "../database", features = ["mock"] }
sea-orm = { version = "0.11.3", features = ["postgres-array", "sqlx-postgres", "runtime-tokio-rustls", "mock"] }