From 4cc3e2bf861ba04e3924e337b9ac5d3e8d21eb02 Mon Sep 17 00:00:00 2001 From: UMTS at Teleco Date: Sun, 8 Mar 2026 15:09:27 +0100 Subject: sexy --- Cargo.toml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') 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"] -- cgit v1.2.3-70-g09d2