Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [package]
  2. name = "dog"
  3. description = "A command-line DNS client"
  4. authors = ["Benjamin Sago <[email protected]>"]
  5. categories = ["command-line-utilities"]
  6. edition = "2018"
  7. exclude = [
  8. "/completions/*", "/man/*", "/xtests/*",
  9. "/dog-screenshot.png", "/Justfile", "/README.md", "/.rustfmt.toml", "/.travis.yml",
  10. ]
  11. homepage = "https://dns.lookup.dog/"
  12. license = "EUPL-1.2"
  13. version = "0.1.0-pre"
  14. [[bin]]
  15. name = "dog"
  16. path = "src/main.rs"
  17. [workspace]
  18. members = [
  19. "dns",
  20. "dns-transport",
  21. ]
  22. [profile.release]
  23. lto = true
  24. overflow-checks = true
  25. panic = "abort"
  26. [dependencies]
  27. # dns stuff
  28. dns = { path = "./dns" }
  29. dns-transport = { path = "./dns-transport" }
  30. # command-line
  31. ansi_term = "0.12"
  32. atty = "0.2"
  33. getopts = "0.2"
  34. # transaction ID generation
  35. rand = "0.7"
  36. # json
  37. serde = "1.0"
  38. serde_json = "1.0"
  39. # logging
  40. log = "0.4"
  41. # windows default nameserver determination
  42. [target.'cfg(windows)'.dependencies]
  43. ipconfig = { version = "0.2" }
  44. [build-dependencies]
  45. datetime = { version = "0.5.1", default_features = false }
  46. regex = { version = "1.3", default_features = false, features = ["std"] }
  47. [dev-dependencies]
  48. pretty_assertions = "0.6"
  49. [features]
  50. default = ["tls", "https"]
  51. tls = ["dns-transport/tls"]
  52. https = ["dns-transport/https"]