Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [package]
  2. name = "crabmail"
  3. version = "0.1.0"
  4. authors = ["alex wennerberg <alex@alexwennerberg.com>"]
  5. edition = "2018"
  6. [features]
  7. default = []
  8. [dependencies]
  9. sha2 = "0.10"
  10. digest = "0.10"
  11. hex = "0.4.3"
  12. anyhow = "1.0.86"
  13. linkify = "0.10.0"
  14. html5ever = "0.24.0 "
  15. select = "0.5.0"
  16. mail-builder = {git = "https://github.com/alexwennerberg/mail-builder"}
  17. mail-parser = "0.8.2"
  18. once_cell = "1.9.0"
  19. urlencoding = "2.1.0"
  20. mailparse = "0.13.0"
  21. scraper = "0.19.0"
  22. regex = "1"
  23. chrono = {version = "0.4", features = ["serde"] }
  24. kuchiki = "0.8.1"
  25. markup5ever_rcdom = "0.3.0"
  26. webpki-roots = "0.26.3"
  27. rustls-pki-types = "1.7.0"
  28. imap-proto = "0.16.5"
  29. serde_json = "1.0.117"
  30. serde = { version = "1.0.201", features = ["derive"] }
  31. pathdiff = "0.2.1"
  32. base64 = "0.22.1"
  33. lettre = {version = "0.11.7", default-features = false, features = ["builder"]}
  34. [target.'cfg(target_os = "wasi")'.dependencies]
  35. tokio_wasi = {version = "1.25.2", features = ["full"] }
  36. tokio-rustls-wasi = "0.25.0-alpha"
  37. httpcodec = "0.2.3"
  38. bytecodec = "0.4.15"
  39. wasmedge_wasi_socket = "0.5.4"
  40. [target.'cfg(not(target_os = "wasi"))'.dependencies]
  41. maildir = "0.6.4"
  42. tokio = { version = "1", features = ["full"] }
  43. native-tls = "0.2.11"
  44. imap = "2.4.1"
  45. axum = "0.7.5"
  46. tower-http = {version = "0.5.2", features = ["cors"] }