Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 output
  42. json = "0.12"
  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 = ["with_idna", "with_tls", "with_https", "with_nativetls"]
  54. with_idna = ["dns/with_idna"]
  55. with_tls = ["dns-transport/with_tls"]
  56. with_https = ["dns-transport/with_https"]
  57. with_nativetls = ["dns-transport/with_nativetls"]
  58. with_nativetls_vendored = ["with_nativetls", "dns-transport/with_nativetls", "dns-transport/with_nativetls_vendored"]
  59. with_rustls = ["dns-transport/with_rustls"]