Skip to content

Commit

Permalink
deps: use fork of deadpool_sqlite with newer sqlite
Browse files Browse the repository at this point in the history
Use my own deadpool fork for now that updates rusqlite to 0.29.0.

Related issue: bikeshedder/deadpool#246
  • Loading branch information
jasonish committed Aug 11, 2023
1 parent 835fada commit 486ca39
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 26 deletions.
103 changes: 83 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ bytes = "0.5.4"
clap = { version = "4.1.6", features = ["env", "derive", "color"] }

# These 3 somewhat depend on each other.
deadpool-sqlite = { version = "0.5", features = ["rt_tokio_1"] }
rusqlite = { version = "= 0.28", default-features = false, features = ["bundled", "serde_json"] }
#deadpool-sqlite = { version = "0.5", features = ["rt_tokio_1"] }
deadpool-sqlite = { git = "https://github.com/jasonish/deadpool", branch = "rusqlite-0-29-0" }
rusqlite = { version = "= 0.29", default-features = false, features = ["bundled", "serde_json"] }
refinery = { version = "0.8.6", features = ["rusqlite"] }

filetime = "0.2.12"
Expand Down Expand Up @@ -68,7 +69,7 @@ rcgen = { git = "https://github.com/jasonish/rcgen", branch = "0.11.0-disable-bo
directories = "5.0.1"
gethostname = "0.4.3"

[patch.crates-io]
# Patch Rusqlite for now. 0.28.0 uses SQLite 3.39, but 3.40 is much
# faster for some group by queries used by EveBox.
rusqlite = { git = "https://github.com/rusqlite/rusqlite" }
# [patch.crates-io]
# # Patch Rusqlite for now. 0.28.0 uses SQLite 3.39, but 3.40 is much
# # faster for some group by queries used by EveBox.
# rusqlite = { git = "https://github.com/rusqlite/rusqlite" }

0 comments on commit 486ca39

Please sign in to comment.