Cargo.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [package]
  2. name = "crabmail"
  3. version = "0.1.0"
  4. authors = ["alex wennerberg <[email protected]>"]
  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 = {version = "0.8.2", features = ["serde_support"]}
  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. uuid = { version = "1.11.0", features = ["v4"] }
  38. [target.'cfg(target_os = "wasi")'.dependencies]
  39. tokio_wasi = {version = "1.25.2", features = ["full", "rt", "rt-multi-thread", "macros", "time"] }
  40. tokio-rustls-wasi = "0.25.0-alpha"
  41. warp_wasi = "0.3.3"
  42. async-imap-wasi = {path = "./async-imap-wasi", default-features = false, features = ["runtime-tokio"]}
  43. sonic-channel-wasi = { version = "1.1.0", features = ["ingest"], path = "./sonic-channel-wasi" }
  44. [target.'cfg(not(target_os = "wasi"))'.dependencies]
  45. maildir = "0.6.4"
  46. tokio = { version = "1.39.2", features = ["full"] }
  47. native-tls = "0.2.11"
  48. async-imap = {version = "0.9.7" , default-features = false, features = ["runtime-tokio"]}
  49. tokio-rustls = "0.26.0"
  50. warp = "0.3.7"
  51. sonic-channel = { version = "1.1.0", features = ["ingest"] }