feat: update services to include transaction handling and refactor database connection setup

This commit is contained in:
GW_MC
2026-05-28 04:02:14 +00:00
parent 79c9865823
commit 671e0f8ead
4 changed files with 96 additions and 43 deletions

29
Cargo.lock generated
View File

@@ -1166,20 +1166,6 @@ dependencies = [
"windows-sys 0.61.2",
]
[[package]]
name = "decimal"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a8ab77e91baeb15034c3be91e87bff4665c9036216148e4996d9a9f5792114d"
dependencies = [
"bitflags 1.3.2",
"cc",
"libc",
"ord_subset",
"rustc-serialize",
"serde",
]
[[package]]
name = "der"
version = "0.7.10"
@@ -3270,12 +3256,6 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
[[package]]
name = "ord_subset"
version = "3.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fdcf5505c0f054ce51fa0fa74142738930a45d5ac1faacae4dd4e2f54afe00fa"
[[package]]
name = "ordered-float"
version = "4.6.0"
@@ -3301,14 +3281,15 @@ version = "0.1.0"
dependencies = [
"async-trait",
"chrono",
"decimal",
"migration",
"rust_decimal",
"sea-orm",
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-opener",
"thiserror 2.0.18",
]
[[package]]
@@ -4007,12 +3988,6 @@ version = "2.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
[[package]]
name = "rustc-serialize"
version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe834bc780604f4674073badbad26d7219cadfb4a2275802db12cbae17498401"
[[package]]
name = "rustc_version"
version = "0.4.1"