diff options
author | Vika <vika@fireburn.ru> | 2024-12-30 23:05:29 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-12-30 23:05:29 +0300 |
commit | e1d84a071e6b61060d57e100fe86580d0aab9846 (patch) | |
tree | 1716806b3bf3175083da46450c803b24c1f11ce4 | |
parent | 51754b4fe14eab73b48a5238f65bcb60f3175a52 (diff) | |
download | kittybox-e1d84a071e6b61060d57e100fe86580d0aab9846.tar.zst |
Fix up CLI feature
Change-Id: Ia72ec9b7cdaae86c3f6a963f9f22c26801f56851
-rw-r--r-- | Cargo.toml | 8 |
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" |