aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorUMTS at Teleco <crt@teleco.ch>2026-03-08 15:09:27 +0100
committerUMTS at Teleco <crt@teleco.ch>2026-03-08 15:09:27 +0100
commit4cc3e2bf861ba04e3924e337b9ac5d3e8d21eb02 (patch)
treecceef17fb6199d3218e4d1a8a7836322b76faa86 /Cargo.toml
parentc73146a40e3885b0aa796c48babf8971a604e6bb (diff)
sexy
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml23
1 files changed, 22 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 91f6d15..b7cd5bb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,8 +1,10 @@
[package]
name = "hoardom"
-version = "1.0.4"
+version = "1.1.2"
edition = "2021"
description = "Domain hoarding made less painful"
+default-run = "hoardom"
+
[features]
default = ["builtin-whois"]
@@ -17,6 +19,11 @@ system-whois = []
# Cannot be used together with system-whois
builtin-whois = []
+# native gui wrapper binary (hoardom-app)
+# spawns hoardom --tui in a pty and renders it in its own window
+# so it shows up as its own app with its own dock icon
+gui = ["dep:eframe", "dep:portable-pty", "dep:vte"]
+
# Configurable values baked into the binary at compile time via build.rs
[package.metadata.hoardom]
whois-command = "whois"
@@ -37,3 +44,17 @@ crossterm = "0.28"
indicatif = "0.17"
chrono = "0.4"
futures = "0.3"
+
+# gui wrapper deps (only built with --features gui)
+eframe = { version = "0.30", optional = true }
+portable-pty = { version = "0.8", optional = true }
+vte = { version = "0.14", optional = true }
+
+[[bin]]
+name = "hoardom"
+path = "src/main.rs"
+
+[[bin]]
+name = "hoardom-app"
+path = "src/app.rs"
+required-features = ["gui"]