From a39870a1348374850a8ef6e947b08b683d79f643 Mon Sep 17 00:00:00 2001 From: LukeMathWalker Date: Wed, 14 Jul 2021 09:20:25 +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 1f5c01c..145747f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -574,6 +574,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" @@ -1677,6 +1680,7 @@ version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79" dependencies = [ + "indexmap", "itoa", "ryu", "serde", @@ -1857,9 +1861,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 13cb1e4..6af2561 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" tracing = "0.1.19"