Cargo.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [package]
  2. name = "crabmail"
  3. version = "0.1.0"
  4. authors = ["alex wennerberg <alex@alexwennerberg.com>"]
  5. edition = "2021"
  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. tar = "0.4"
  35. flate2 = "1.0"
  36. futures = "0.3.30"
  37. [target.'cfg(target_os = "wasi")'.dependencies]
  38. tokio_wasi = {version = "1.25.2", features = ["full", "rt", "rt-multi-thread", "macros", "time"] }
  39. tokio-rustls-wasi = "0.25.0-alpha"
  40. warp_wasi = "0.3.3"
  41. async-imap-wasi = {path = "./async-imap-wasi", default-features = false, features = ["runtime-tokio"]}
  42. sonic-channel-wasi = { version = "1.1.0", features = ["ingest"], path = "./sonic-channel-wasi" }
  43. [target.'cfg(not(target_os = "wasi"))'.dependencies]
  44. maildir = "0.6.4"
  45. tokio = { version = "1.39.2", features = ["full"] }
  46. native-tls = "0.2.11"
  47. async-imap = {version = "0.9.7" , default-features = false, features = ["runtime-tokio"]}
  48. tokio-rustls = "0.26.0"
  49. warp = "0.3.7"
  50. sonic-channel = { version = "1.1.0", features = ["ingest"] }