Skip to content

Commit af5af07

Browse files
Merge pull request #3 from BraneFramework/deadpool
fix: Replace r2d2 with deadpool
2 parents 64c8186 + ec9465e commit af5af07

File tree

3 files changed

+308
-282
lines changed

3 files changed

+308
-282
lines changed

Cargo.lock

Lines changed: 81 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/databases/sqlite/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ description = "Implements the `DatabaseConnector` for an SQLite backend."
1111

1212
[dependencies]
1313
chrono = "0.4.30"
14-
diesel = { version = "2.2.3", features = ["chrono", "r2d2", "sqlite"] }
14+
diesel = { version = "2.2.3", features = ["chrono", "sqlite"] }
1515
diesel_migrations = "2.2.0"
16+
deadpool-diesel = { version = "0.6.1", features = ["sqlite", "tracing"] }
17+
deadpool = "0.12.0"
18+
1619
serde = "1.0.184"
1720
serde_json = "1.0.29"
1821
thiserror = "2.0.0"

0 commit comments

Comments
 (0)