Cargo.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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.2.0-pre"
  14. [[bin]]
  15. name = "dog"
  16. path = "src/main.rs"
  17. doctest = false
  18. [workspace]
  19. members = [
  20. "dns",
  21. "dns-transport",
  22. ]
  23. # make dev builds faster by excluding debug symbols
  24. [profile.dev]
  25. debug = false
  26. # use LTO for smaller binaries (that take longer to build)
  27. [profile.release]
  28. lto = true
  29. overflow-checks = true
  30. panic = "abort"
  31. [dependencies]
  32. # dns stuff
  33. dns = { path = "./dns" }
  34. dns-transport = { path = "./dns-transport" }
  35. # command-line
  36. ansi_term = "0.12"
  37. atty = "0.2"
  38. getopts = "0.2"
  39. # transaction ID generation
  40. rand = "0.8"
  41. # json
  42. serde = "1.0"
  43. serde_json = "1.0"
  44. # logging
  45. log = "0.4"
  46. # windows default nameserver determination
  47. [target.'cfg(windows)'.dependencies]
  48. ipconfig = { version = "0.2" }
  49. [build-dependencies]
  50. datetime = { version = "0.5.1", default_features = false }
  51. [dev-dependencies]
  52. pretty_assertions = "0.7"
  53. [features]
  54. default = ["tls", "https"]
  55. tls = ["dns-transport/tls"]
  56. https = ["dns-transport/https"]