From c40f283babc6a2e8d7892cbd565a3ec66b4db308 Mon Sep 17 00:00:00 2001 From: Franco Lucchini Date: Sat, 5 Aug 2023 10:26:16 +0200 Subject: [PATCH] cli: add missing sqlx dependency --- cli/Cargo.toml | 1 + cli/src/command/reflect.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 62bee28a..8d6366ba 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -29,6 +29,7 @@ ormlite-attr = { version = "0.17", path = "../attr" } tokio = { version = "1", features = ["full"] } sqlmo = { version = "0.16", features = ["tracing"] } sqlmo_sqlx = "0.16" +sqlx = "0.7" syn = "2" proc-macro2 = "1" url = "2" diff --git a/cli/src/command/reflect.rs b/cli/src/command/reflect.rs index e6c707a0..a975b2f1 100644 --- a/cli/src/command/reflect.rs +++ b/cli/src/command/reflect.rs @@ -23,6 +23,7 @@ use std::fs; * - `--domains` option for domains as `type` aliases */ +#[allow(dead_code)] #[derive(Debug, FromRow)] struct ColumnDef { table_schema: String,