Cargo.toml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [package]
  2. name = "hoardom"
  3. version = "1.1.2"
  4. edition = "2021"
  5. description = "Domain hoarding made less painful"
  6. default-run = "hoardom"
  7. [features]
  8. default = ["builtin-whois"]
  9. # Use the systems whois command instead of our builtin TCP implementation
  10. # Disable with: cargo build --no-default-features
  11. # Cannot be used together with builtin-whois
  12. system-whois = []
  13. # Use our builtin raw TCP whois implementation (no system dependency)
  14. # Enable with: cargo build --no-default-features --features builtin-whois
  15. # Cannot be used together with system-whois
  16. builtin-whois = []
  17. # native gui wrapper binary (hoardom-app)
  18. # spawns hoardom --tui in a pty and renders it in its own window
  19. # so it shows up as its own app with its own dock icon
  20. gui = ["dep:eframe", "dep:portable-pty", "dep:vte"]
  21. # Configurable values baked into the binary at compile time via build.rs
  22. [package.metadata.hoardom]
  23. whois-command = "whois"
  24. whois-flags = ""
  25. rdap-bootstrap-url = "https://data.iana.org/rdap/dns.json"
  26. [dependencies]
  27. clap = { version = "4", features = ["derive"] }
  28. tokio = { version = "1", features = ["full"] }
  29. reqwest = { version = "0.12", features = ["json"] }
  30. serde = { version = "1", features = ["derive"] }
  31. serde_json = "1"
  32. toml = "0.8"
  33. dirs = "6"
  34. colored = "3"
  35. ratatui = "0.29"
  36. crossterm = "0.28"
  37. indicatif = "0.17"
  38. chrono = "0.4"
  39. futures = "0.3"
  40. # gui wrapper deps (only built with --features gui)
  41. eframe = { version = "0.30", optional = true }
  42. portable-pty = { version = "0.8", optional = true }
  43. vte = { version = "0.14", optional = true }
  44. [[bin]]
  45. name = "hoardom"
  46. path = "src/main.rs"
  47. [[bin]]
  48. name = "hoardom-app"
  49. path = "src/app.rs"
  50. required-features = ["gui"]