Add sqlite dependency

This commit is contained in:
Kiana Sheibani 2023-08-27 05:05:22 -04:00
parent d5c3a7685f
commit 050ae2facf
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
3 changed files with 33 additions and 1 deletions

31
Cargo.lock generated
View file

@ -304,6 +304,7 @@ dependencies = [
"futures", "futures",
"schema", "schema",
"serde", "serde",
"sqlite",
"surf", "surf",
] ]
@ -1530,6 +1531,36 @@ dependencies = [
"lock_api", "lock_api",
] ]
[[package]]
name = "sqlite"
version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05439db7afa0ce0b38f6d1b4c691f368adde108df021e15e900fec6a1af92488"
dependencies = [
"libc",
"sqlite3-sys",
]
[[package]]
name = "sqlite3-src"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfc95a51a1ee38839599371685b9d4a926abb51791f0bc3bf8c3bb7867e6e454"
dependencies = [
"cc",
"pkg-config",
]
[[package]]
name = "sqlite3-sys"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2752c669433e40ebb08fde824146f50d9628aa0b66a3b7fc6be34db82a8063b"
dependencies = [
"libc",
"sqlite3-src",
]
[[package]] [[package]]
name = "standback" name = "standback"
version = "0.2.17" version = "0.2.17"

View file

@ -14,6 +14,7 @@ surf = "2"
dirs = "5.0" dirs = "5.0"
futures = "0.3" futures = "0.3"
serde = "1.0" serde = "1.0"
sqlite = "0.31"
[build-dependencies] [build-dependencies]
cynic-codegen = "3.2" cynic-codegen = "3.2"

View file

@ -30,7 +30,7 @@
version = "0.1.0"; version = "0.1.0";
src = craneLib.path ./.; src = craneLib.path ./.;
cargoBuildFlags = "-p cli"; cargoBuildFlags = "-p cli";
buildInputs = [ pkgs.openssl ]; buildInputs = [ pkgs.openssl pkgs.sqlite ];
nativeBuildInputs = [ pkgs.pkg-config ]; nativeBuildInputs = [ pkgs.pkg-config ];
}; };