Switched from sea-orm to sqlx

This commit is contained in:
2023-11-25 19:29:06 +03:00
parent e4e33f52b1
commit 9f967e82d5
40 changed files with 434 additions and 1110 deletions

View File

@@ -9,7 +9,7 @@ edition = "2021"
strip = true
[workspace]
members = [".", "migration", "entity", "cryptography"]
members = [".", "entity", "cryptography"]
[workspace.lints.clippy]
pedantic = "warn"
@@ -31,16 +31,12 @@ futures = "0.3"
hex = "0.4"
itertools = "0.12"
log = "0.4"
migration = { version = "0.2", path = "migration" }
parking_lot = "0.12"
pretty_env_logger = "0.5"
sea-orm = { version = "0.12", features = [
"sqlx-mysql",
"runtime-tokio-rustls",
] }
serde = "1"
serde_json = "1"
sha2 = "0.10"
sqlx = { version = "0.7", features = ["mysql", "runtime-tokio-rustls", "macros", "migrate"], default-features = false }
teloxide = { version = "0.12", features = [
"macros",
"ctrlc_handler",