Cargo.toml 1.3 KB

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