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

View File

@ -11,7 +11,7 @@ edition = "2018"
juniper = "^0.15" juniper = "^0.15"
juniper_warp = "^0.6" juniper_warp = "^0.6"
juniper-from-schema = { git = "https://github.com/davidpdrsn/juniper-from-schema" } 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"] } warp = { version = "^0.3", default-features = false, features = ["compression", "tls"] }
structopt = { version = "^0.3", features = ["wrap_help"] } structopt = { version = "^0.3", features = ["wrap_help"] }
toml = "^0.5" toml = "^0.5"