Files
khm/Cargo.toml

66 lines
2.0 KiB
TOML
Raw Normal View History

2024-07-07 21:02:39 +03:00
[package]
2024-07-07 21:13:19 +03:00
name = "khm"
2025-07-24 00:01:49 +03:00
version = "0.7.1"
2024-07-07 21:02:39 +03:00
edition = "2021"
2025-04-29 21:12:27 +00:00
authors = ["AB <ab@hexor.cy>"]
2025-07-22 20:10:44 +03:00
description = "KHM - Known Hosts Manager for SSH key management and synchronization"
homepage = "https://github.com/house-of-vanity/khm"
repository = "https://github.com/house-of-vanity/khm"
license = "WTFPL"
keywords = ["ssh", "known-hosts", "security", "system-admin", "automation"]
categories = ["command-line-utilities", "network-programming"]
2024-07-07 21:02:39 +03:00
2025-07-24 03:11:53 +03:00
[[bin]]
name = "khm"
path = "src/bin/cli.rs"
[[bin]]
name = "khm-desktop"
path = "src/bin/desktop.rs"
2025-07-24 03:18:59 +03:00
required-features = ["gui"]
2025-07-24 03:11:53 +03:00
2024-07-07 21:02:39 +03:00
[dependencies]
actix-web = "4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
log = "0.4"
regex = "1.10.5"
2025-03-14 02:14:15 +02:00
base64 = "0.21"
2025-07-20 17:37:46 +03:00
tokio = { version = "1", features = ["full", "sync"] }
2024-07-07 21:02:39 +03:00
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4"] }
2025-07-18 17:52:58 +03:00
tokio-util = { version = "0.7", features = ["codec"] }
2024-07-07 21:02:39 +03:00
clap = { version = "4", features = ["derive"] }
chrono = "0.4.38"
2024-09-25 15:40:40 +03:00
reqwest = { version = "0.12", features = ["json"] }
2025-07-20 17:37:46 +03:00
trust-dns-resolver = "0.23"
futures = "0.3"
hostname = "0.3"
2025-07-18 18:06:26 +03:00
rust-embed = "8.0"
2025-07-24 03:54:13 +03:00
tray-icon = { version = "0.21", optional = true }
2025-07-22 23:14:55 +03:00
notify = { version = "6.1", optional = true }
notify-debouncer-mini = { version = "0.4", optional = true }
2025-07-22 12:50:01 +03:00
dirs = "5.0"
2025-07-22 23:14:55 +03:00
eframe = { version = "0.29", optional = true }
egui = { version = "0.29", optional = true }
winit = { version = "0.30", optional = true }
2025-07-22 12:50:01 +03:00
env_logger = "0.11"
2025-07-22 16:20:39 +03:00
urlencoding = "2.1"
2025-07-22 12:50:01 +03:00
2025-07-24 04:04:15 +03:00
# Linux-specific dependencies for GTK tray support
[target.'cfg(target_os = "linux")'.dependencies]
gtk = { version = "0.18", optional = true }
2025-07-24 04:16:10 +03:00
glib = { version = "0.18", optional = true }
2025-07-24 04:04:15 +03:00
2025-07-22 23:14:55 +03:00
[features]
2025-07-24 03:11:53 +03:00
default = ["server", "web", "gui"]
cli = ["server", "web"]
desktop = ["gui"]
2025-07-24 04:16:10 +03:00
gui = ["tray-icon", "eframe", "egui", "winit", "notify", "notify-debouncer-mini", "gtk", "glib"]
2025-07-22 23:14:55 +03:00
server = []
2025-07-24 03:11:53 +03:00
web = []
2025-07-22 23:14:55 +03:00
2025-07-24 03:29:36 +03:00
# Target-specific dependencies for cross-compilation
[target.aarch64-unknown-linux-gnu.dependencies]
openssl = { version = "0.10", features = ["vendored"] }