nostr-rs-relay

My dev fork of nostr-rs-relay
git clone git://jb55.com/nostr-rs-relay
Log | Files | Refs | README | LICENSE

commit 2b4b17dbdaa7c01f3b54e0e54a7edcb13e5d497c
parent 5058d98ad6a91c9b44cdc80a98931969219bc881
Author: Kirill Kovalenko <kirill.kovalenko@gmail.com>
Date:   Sun,  7 Aug 2022 10:31:59 -0500

fix: windows compilation with bundled sqlite3

Using 'bundled' is recommended by
https://github.com/rusqlite/rusqlite#usage to avoid common build
issues

Diffstat:
MCargo.lock | 1+
MCargo.toml | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -702,6 +702,7 @@ version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2cafc7c74096c336d9d27145f7ebd4f4b6f95ba16aa5a282387267e6925cb58" dependencies = [ + "cc", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml @@ -19,7 +19,7 @@ secp256k1 = {version = "^0.21", features = ["rand", "rand-std", "serde", "bitcoi serde = { version = "^1.0", features = ["derive"] } serde_json = {version = "^1.0", features = ["preserve_order"]} hex = "^0.4" -rusqlite = { version = "^0.26", features = ["limits"]} +rusqlite = { version = "^0.26", features = ["limits","bundled"]} r2d2 = "^0.8" r2d2_sqlite = "^0.19" lazy_static = "^1.4"