Add offline feature to sqlx

This commit is contained in:
Erik Foris 2021-06-28 14:35:18 +00:00
parent a82ca7d052
commit 59d26277db
2 changed files with 8 additions and 1 deletions

7
Cargo.lock generated
View File

@ -423,6 +423,9 @@ name = "either"
version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
dependencies = [
"serde",
]
[[package]]
name = "flate2"
@ -1871,6 +1874,7 @@ dependencies = [
"once_cell",
"parking_lot",
"percent-encoding",
"serde",
"sha2",
"smallvec",
"sqlformat",
@ -1893,9 +1897,12 @@ dependencies = [
"either",
"futures",
"heck",
"hex",
"once_cell",
"proc-macro2",
"quote",
"serde",
"serde_json",
"sha2",
"sqlx-core",
"sqlx-rt",

View File

@ -11,7 +11,7 @@ edition = "2018"
juniper = "^0.15"
juniper_warp = "^0.6"
juniper-from-schema = { git = "https://github.com/davidpdrsn/juniper-from-schema" }
sqlx = { version = "^0.5", features = ["runtime-tokio-native-tls", "uuid", "chrono", "macros"] }
sqlx = { version = "^0.5", features = ["runtime-tokio-native-tls", "uuid", "chrono", "macros", "offline"] }
warp = { version = "^0.3", default-features = false, features = ["compression", "tls"] }
structopt = { version = "^0.3", features = ["wrap_help"] }
toml = "^0.5"