Add feature sqlite
This commit is contained in:
parent
f5eea11fad
commit
f6c78b957b
12
Cargo.lock
generated
12
Cargo.lock
generated
@ -995,6 +995,17 @@ version = "0.2.93"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9385f66bf6105b241aa65a61cb923ef20efc665cb9f9bb50ac2f0c4b7f378d41"
|
||||
|
||||
[[package]]
|
||||
name = "libsqlite3-sys"
|
||||
version = "0.22.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "290b64917f8b0cb885d9de0f9959fe1f775d7fa12f1da2db9001c1c8ab60f89d"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"pkg-config",
|
||||
"vcpkg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "linked-hash-map"
|
||||
version = "0.5.4"
|
||||
@ -1824,6 +1835,7 @@ dependencies = [
|
||||
"hex",
|
||||
"itoa",
|
||||
"libc",
|
||||
"libsqlite3-sys",
|
||||
"log",
|
||||
"memchr",
|
||||
"once_cell",
|
||||
|
@ -12,3 +12,7 @@ juniper_warp = "^0.6"
|
||||
juniper-from-schema = { git = "https://github.com/davidpdrsn/juniper-from-schema" }
|
||||
sqlx = { version = "^0.5", features = ["runtime-tokio-native-tls"] }
|
||||
warp = { version = "^0.3", default-features = false, features = ["compression", "tls"] }
|
||||
|
||||
[features]
|
||||
default = ["sqlite"]
|
||||
sqlite = ["sqlx/sqlite"]
|
Loading…
Reference in New Issue
Block a user