fix: windows compilation with bundled sqlite3

Using 'bundled' is recommended by
https://github.com/rusqlite/rusqlite#usage to avoid common build
issues
This commit is contained in:
Kirill Kovalenko 2022-08-07 10:31:59 -05:00 committed by Greg Heartsfield
parent 5058d98ad6
commit 2b4b17dbda
2 changed files with 2 additions and 1 deletions

1
Cargo.lock generated
View File

@ -702,6 +702,7 @@ version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2cafc7c74096c336d9d27145f7ebd4f4b6f95ba16aa5a282387267e6925cb58" checksum = "d2cafc7c74096c336d9d27145f7ebd4f4b6f95ba16aa5a282387267e6925cb58"
dependencies = [ dependencies = [
"cc",
"pkg-config", "pkg-config",
"vcpkg", "vcpkg",
] ]

View File

@ -19,7 +19,7 @@ secp256k1 = {version = "^0.21", features = ["rand", "rand-std", "serde", "bitcoi
serde = { version = "^1.0", features = ["derive"] } serde = { version = "^1.0", features = ["derive"] }
serde_json = {version = "^1.0", features = ["preserve_order"]} serde_json = {version = "^1.0", features = ["preserve_order"]}
hex = "^0.4" hex = "^0.4"
rusqlite = { version = "^0.26", features = ["limits"]} rusqlite = { version = "^0.26", features = ["limits","bundled"]}
r2d2 = "^0.8" r2d2 = "^0.8"
r2d2_sqlite = "^0.19" r2d2_sqlite = "^0.19"
lazy_static = "^1.4" lazy_static = "^1.4"