Update sea-orm dependencies to use workspace configuration; add dead code annotations in service error handling and settings service
All checks were successful
Test / verify-generated-code (pull_request) Successful in 7m57s
Test / test (pull_request) Successful in 1m9s
Test / lint (pull_request) Successful in 1m9s

This commit is contained in:
GW_MC
2025-12-02 17:12:24 +08:00
parent f71cf370cd
commit f4e6eb56c8
7 changed files with 15 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.47.0", features = ["full"] }
sea-orm = { version = "2.0.0-rc", features = [ "sqlx-postgres", "sqlx-mysql", "sqlx-sqlite", "runtime-tokio-rustls", "macros", "mock", "with-chrono", "with-json", "with-uuid", "sqlite-use-returning-for-3_35", "mariadb-use-returning" ] }
sea-orm = { workspace = true, features = [ "sqlx-postgres", "sqlx-mysql", "sqlx-sqlite", "runtime-tokio-rustls", "macros", "mock", "with-chrono", "with-json", "with-uuid", "sqlite-use-returning-for-3_35", "mariadb-use-returning" ] }
log = "0.4.28"
[lints]

View File

@@ -11,11 +11,11 @@ path = "src/lib.rs"
[dependencies]
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread"] }
sea-orm-cli = { version = "2.0.0-rc", features = ["sqlx-postgres", "sqlx-mysql", "sqlx-sqlite", "runtime-tokio"] }
sea-orm-cli = { workspace = true, features = ["sqlx-postgres", "sqlx-mysql", "sqlx-sqlite", "runtime-tokio"] }
log = "0.4.28"
[dependencies.sea-orm-migration]
version = "2.0.0-rc"
workspace = true
features = [
"runtime-tokio-rustls", # `ASYNC_RUNTIME` feature
"sqlx-postgres", "sqlx-mysql", "sqlx-sqlite" # `DATABASE_DRIVER` features