Cargo.toml 507 B

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