From e1d84a071e6b61060d57e100fe86580d0aab9846 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 30 Dec 2024 23:05:29 +0300 Subject: Fix up CLI feature Change-Id: Ia72ec9b7cdaae86c3f6a963f9f22c26801f56851 --- Cargo.toml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 019786f..57888a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,12 +10,10 @@ autobins = false [features] default = ["rustls", "postgres"] -#util = ["anyhow"] -#migration = ["util"] webauthn = ["openssl", "dep:webauthn"] openssl = ["reqwest/native-tls", "reqwest/native-tls-alpn", "sqlx/tls-native-tls"] rustls = ["reqwest/rustls-tls-webpki-roots", "sqlx/tls-rustls"] -cli = ["clap"] +cli = ["dep:clap", "dep:anyhow"] postgres = ["sqlx", "kittybox-util/sqlx"] [[bin]] @@ -26,12 +24,12 @@ required-features = [] #[[bin]] #name = "kittybox-bulk-import" #path = "src/bin/kittybox_bulk_import.rs" -#required-features = ["migration"] +#required-features = ["migration", "cli"] #[[bin]] #name = "kittybox-database-converter" #path = "src/bin/kittybox_database_converter.rs" -#required-features = ["migration", "redis"] +#required-features = ["migration", "redis", "cli"] [[bin]] name = "kittybox-indieauth-helper" -- cgit 1.4.1