From c7dd1c3195c48f549641df01adcecaf2a8f2805d Mon Sep 17 00:00:00 2001 From: Andrew Whitehead Date: Mon, 3 Jan 2022 09:49:29 -0800 Subject: [PATCH] fix sqlx at 0.5.9 temporarily Signed-off-by: Andrew Whitehead --- Cargo.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d3d8a910..c86b19f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,8 +30,8 @@ any = [] ffi = ["any", "ffi-support", "logger", "option-lock"] jemalloc = ["jemallocator"] logger = ["env_logger", "log"] -postgres = ["sqlx", "sqlx/postgres", "sqlx/tls"] -sqlite = ["num_cpus", "sqlx", "sqlx/sqlite"] +postgres = ["sqlx", "sqlx-core", "sqlx/postgres", "sqlx/tls"] +sqlite = ["num_cpus", "sqlx", "sqlx-core", "sqlx/sqlite"] pg_test = ["postgres"] [dev-dependencies] @@ -72,11 +72,16 @@ path = "./askar-crypto" features = ["all_keys", "any_key", "argon2", "crypto_box", "std"] [dependencies.sqlx] -version = "0.5.9" +version = "=0.5.9" default-features = false features = ["chrono", "runtime-tokio-rustls"] optional = true +[dependencies.sqlx-core] +version = "=0.5.9" +default-features = false +optional = true + [profile.release] lto = true codegen-units = 1