about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-12-30 23:05:29 +0300
committerVika <vika@fireburn.ru>2024-12-30 23:05:29 +0300
commite1d84a071e6b61060d57e100fe86580d0aab9846 (patch)
tree1716806b3bf3175083da46450c803b24c1f11ce4
parent51754b4fe14eab73b48a5238f65bcb60f3175a52 (diff)
downloadkittybox-e1d84a071e6b61060d57e100fe86580d0aab9846.tar.zst
Fix up CLI feature
Change-Id: Ia72ec9b7cdaae86c3f6a963f9f22c26801f56851
-rw-r--r--Cargo.toml8
1 files 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"