Cargo.toml 467 B

12345678910111213141516171819202122232425
  1. [package]
  2. name = "dns-transport"
  3. version = "0.1.0"
  4. authors = ["Benjamin Sago <[email protected]>"]
  5. edition = "2018"
  6. [dependencies]
  7. # dns wire protocol
  8. dns = { path = "../dns" }
  9. # logging
  10. log = "0.4"
  11. # tls networking
  12. native-tls = { version = "0.2", optional = true }
  13. # http response parsing
  14. httparse = { version = "1.3", optional = true }
  15. [features]
  16. default = [] # these are enabled in the main dog crate
  17. tls = ["native-tls"]
  18. https = ["native-tls", "httparse"]