[package] name = "crabmail" version = "0.1.0" authors = ["yurii sokolovskyi "] edition = "2021" [features] default = [] [dependencies] sha2 = "0.10" digest = "0.10" hex = "0.4.3" anyhow = "1.0.86" linkify = "0.10.0" html5ever = "0.24.0 " select = "0.5.0" mail-builder = {git = "https://github.com/alexwennerberg/mail-builder"} # TODO check if we need it mail-parser = {version = "0.8.2", features = ["serde_support"]} once_cell = "1.9.0" urlencoding = "2.1.0" mailparse = "0.13.0" scraper = "0.19.0" regex = "1" chrono = {version = "0.4", features = ["serde"] } kuchiki = "0.8.1" markup5ever_rcdom = "0.3.0" webpki-roots = "0.26.3" rustls-pki-types = "1.7.0" imap-proto = "0.16.5" serde_json = "1.0.117" serde = { version = "1.0.201", features = ["derive"] } pathdiff = "0.2.1" base64 = "0.22.1" lettre = {version = "0.11.7", default-features = false, features = ["builder"]} tar = "0.4" flate2 = "1.0" futures = "0.3.30" uuid = { version = "1.11.0", features = ["v4"] } [target.'cfg(target_os = "wasi")'.dependencies] tokio_wasi = {version = "1.25.2", features = ["full", "rt", "rt-multi-thread", "macros", "time"] } tokio-rustls-wasi = "0.25.0-alpha" warp_wasi = "0.3.3" async-imap-wasi = {path = "./async-imap-wasi", default-features = false, features = ["runtime-tokio"]} sonic-channel-wasi = { version = "1.1.0", features = ["ingest"], path = "./sonic-channel-wasi" } [target.'cfg(not(target_os = "wasi"))'.dependencies] maildir = "0.6.4" tokio = { version = "1.39.2", features = ["full"] } native-tls = "0.2.11" async-imap = {version = "0.9.7" , default-features = false, features = ["runtime-tokio"]} tokio-rustls = "0.26.0" warp = "0.3.7" sonic-channel = { version = "1.1.0", features = ["ingest"] }