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

View File

@@ -3,7 +3,7 @@ name = "otter"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
edition = "2021"
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -23,9 +23,10 @@ tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
async-trait = "0.1.89"
decimal = "2.1.0"
rust_decimal = "1.42.0"
sea-orm.workspace = true
migration = { path = "../crates/migration" }
chrono.workspace = true
thiserror = "2.0.18"