mailsift 0.0.2

Extracts structured artifacts (events, tickets, parcels, receipts, bills) from incoming personal email.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "mailsift"
version = "0.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extracts structured artifacts (events, tickets, parcels, receipts, bills) from incoming personal email."
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/jelmer/mailsift"

[features]
default = [
    "gssapi",
    "smtp",
]
gssapi = [
    "dep:base64",
    "dep:libgssapi",
]
smtp = [
    "lettre/smtp-transport",
    "lettre/tokio1-rustls-tls",
]

[lib]
name = "mailsift"
path = "src/lib.rs"

[[bin]]
name = "mailsift"
path = "src/main.rs"

[[test]]
name = "milter"
path = "tests/milter.rs"

[[test]]
name = "parcels_pipeline"
path = "tests/parcels_pipeline.rs"

[[test]]
name = "pipeline_dkim"
path = "tests/pipeline_dkim.rs"

[[test]]
name = "pipeline_dkim_suffix_match"
path = "tests/pipeline_dkim_suffix_match.rs"

[[test]]
name = "pipeline_reservation"
path = "tests/pipeline_reservation.rs"

[[test]]
name = "replay"
path = "tests/replay.rs"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.ctrlc]
version = "3"

[dependencies.icalendar]
version = "0.16"

[dependencies.imap]
version = "3.0.0-alpha.15"
features = ["rustls-tls"]
default-features = false

[dependencies.imap-proto]
version = "0.16"

[dependencies.indicatif]
version = "0.18"

[dependencies.indymilter]
version = "0.3"

[dependencies.lettre]
version = "0.11"
features = [
    "builder",
    "tokio1",
    "sendmail-transport",
]
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.libgssapi]
version = "0.11"
optional = true

[dependencies.mailparse]
version = "0.16.1"

[dependencies.percent-encoding]
version = "2"

[dependencies.quick-xml]
version = "0.36"

[dependencies.rayon]
version = "1"

[dependencies.redb]
version = "4"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = ["aws_lc_rs"]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_norway]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2"

[dependencies.wait-timeout]
version = "0.2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.indymilter-test]
version = "0.2.0"