From c9d1488f33f4ff4c53241d79c12b49abe592b12c Mon Sep 17 00:00:00 2001 From: LukeMathWalker Date: Wed, 14 Jul 2021 09:18:55 +0100 Subject: [PATCH] Re-enable offline feature. --- Cargo.lock | 7 +++++++ Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index c236c1a..e62369a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -610,6 +610,9 @@ name = "either" version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" +dependencies = [ + "serde", +] [[package]] name = "encoding_rs" @@ -1765,6 +1768,7 @@ version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79" dependencies = [ + "indexmap", "itoa", "ryu", "serde", @@ -1957,9 +1961,12 @@ dependencies = [ "either", "futures", "heck", + "hex", "once_cell", "proc-macro2", "quote", + "serde", + "serde_json", "sha2", "sqlx-core", "sqlx-rt", diff --git a/Cargo.toml b/Cargo.toml index e73ded2..bdb78d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ actix-web = "=4.0.0-beta.8" actix-http = "=3.0.0-beta.8" serde = "1.0.115" config = { version = "0.10.1", default-features = false, features = ["yaml"] } -sqlx = { version = "0.5.5", default-features = false, features = [ "runtime-actix-rustls", "macros", "postgres", "uuid", "chrono", "migrate"] } +sqlx = { version = "0.5.5", default-features = false, features = [ "runtime-actix-rustls", "macros", "postgres", "uuid", "chrono", "migrate", "offline"] } uuid = { version = "0.8.1", features = ["v4"] } chrono = "0.4.15" reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] }