Cargo.toml 808 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. rustls = { version = "0.19", optional = true }
  19. webpki = { version = "0.21.0", optional = true }
  20. webpki-roots = { version = "0.21.0", optional = true }
  21. cfg-if = "1"
  22. [features]
  23. default = [] # these are enabled in the main dog crate
  24. with_tls = []
  25. with_https = ["httparse"]
  26. with_nativetls = ["native-tls"]
  27. with_nativetls_vendored = ["native-tls", "native-tls/vendored"]
  28. with_rustls = ["rustls", "webpki-roots", "webpki"]