[package] name = "crabmail" version = "0.1.0" authors = ["alex wennerberg "] edition = "2018" [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"} mail-parser = "0.8.2" 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"]} [target.'cfg(target_os = "wasi")'.dependencies] tokio_wasi = {version = "1.25.2", features = ["full"] } tokio-rustls-wasi = "0.25.0-alpha" httpcodec = "0.2.3" bytecodec = "0.4.15" wasmedge_wasi_socket = "0.5.4" [target.'cfg(not(target_os = "wasi"))'.dependencies] maildir = "0.6.4" tokio = { version = "1", features = ["full"] } native-tls = "0.2.11" imap = "2.4.1" axum = "0.7.5" tower-http = {version = "0.5.2", features = ["cors"] }