missive 0.7.0

Compose, deliver, preview, and test emails in Rust - pluggable providers with zero configuration code
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 = "2021"
name = "missive"
version = "0.7.0"
build = false
exclude = [
    ".antigravitycli/**",
    ".beads/**",
    ".claude/**",
    ".agents/**",
    ".github/**",
    "AGENTS.md",
    "CLAUDE.md",
    "graphify-out/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compose, deliver, preview, and test emails in Rust - pluggable providers with zero configuration code"
readme = "README.md"
keywords = [
    "email",
    "smtp",
    "jmap",
    "ses",
    "resend",
]
categories = [
    "email",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/jeffhuen/missive"

[features]
_async_attachment_io = ["dep:tokio"]
_aws_sig = [
    "dep:hmac",
    "dep:sha2",
    "dep:hex",
    "dep:urlencoding",
]
_http = [
    "dep:reqwest",
    "_async_attachment_io",
]
amazon_ses = [
    "_http",
    "_aws_sig",
]
brevo = ["_http"]
default = []
dev = [
    "local",
    "preview",
]
full = [
    "smtp",
    "resend",
    "unsent",
    "postmark",
    "sendgrid",
    "brevo",
    "mailgun",
    "amazon_ses",
    "mailtrap",
    "mailjet",
    "socketlabs",
    "gmail",
    "protonbridge",
    "jmap",
    "local",
    "templates",
    "preview-axum",
]
gmail = [
    "smtp",
    "_http",
]
jmap = ["_http"]
local = ["dep:regex"]
mailgun = ["_http"]
mailjet = ["_http"]
mailtrap = ["_http"]
metrics = ["dep:metrics"]
postmark = ["_http"]
preview = [
    "local",
    "dep:tiny_http",
]
preview-actix = [
    "local",
    "dep:actix-web",
]
preview-axum = [
    "local",
    "dep:axum",
    "dep:tower-http",
]
protonbridge = ["smtp"]
resend = ["_http"]
sendgrid = [
    "_http",
    "dep:flate2",
]
smtp = [
    "dep:lettre",
    "_async_attachment_io",
]
socketlabs = ["_http"]
templates = ["dep:askama"]
unsent = ["_http"]
wasm = []

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

[[example]]
name = "jmap_integration"
path = "examples/jmap_integration.rs"
required-features = ["jmap"]

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

[[test]]
name = "adapters"
path = "tests/adapters.rs"
required-features = [
    "amazon_ses",
    "brevo",
    "gmail",
    "jmap",
    "local",
    "mailgun",
    "mailjet",
    "mailtrap",
    "postmark",
    "resend",
    "sendgrid",
    "socketlabs",
    "unsent",
]

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

[[test]]
name = "client_test"
path = "tests/client_test.rs"
required-features = ["local"]

[[test]]
name = "config_test"
path = "tests/config_test.rs"
required-features = ["full"]

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

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

[[test]]
name = "interceptor_test"
path = "tests/interceptor_test.rs"
required-features = ["local"]

[[test]]
name = "memory_storage_test"
path = "tests/memory_storage_test.rs"
required-features = ["local"]

[[test]]
name = "preview_standalone_test"
path = "tests/preview_standalone_test.rs"
required-features = ["preview"]

[[test]]
name = "preview_test"
path = "tests/preview_test.rs"
required-features = ["preview-axum"]

[[test]]
name = "telemetry_test"
path = "tests/telemetry_test.rs"
required-features = ["local"]

[[test]]
name = "test_assertions_test"
path = "tests/test_assertions_test.rs"
required-features = ["local"]

[dependencies.askama]
version = "0.13"
optional = true

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.email_address]
version = "0.2"

[dependencies.flate2]
version = "1.0"
optional = true

[dependencies.hex]
version = "0.4"
optional = true

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.idna]
version = "1.0"

[dependencies.metrics]
version = "0.24"
optional = true

[dependencies.mime_guess]
version = "2"

[dependencies.regex]
version = "1"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.urlencoding]
version = "2"
optional = true

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.serde_urlencoded]
version = "0.7"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

[dev-dependencies.ureq]
version = "2"
features = ["json"]

[dev-dependencies.wiremock]
version = "0.6"

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "wasmbind",
]

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true
default-features = false

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.uuid]
version = "1"
features = [
    "v4",
    "js",
]

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.web-time]
version = "1"

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.actix-web]
version = "4"
optional = true

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.axum]
version = "0.8"
optional = true

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.chrono]
version = "0.4"
features = ["serde"]

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.lettre]
version = "0.11"
features = [
    "tokio1-rustls-tls",
    "smtp-transport",
    "builder",
]
optional = true
default-features = false

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.parking_lot]
version = "0.12"

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "multipart",
]
optional = true
default-features = false

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.tiny_http]
version = "0.12"
optional = true

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.tokio]
version = "1"
features = [
    "fs",
    "rt",
]
optional = true
default-features = false

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.tower-http]
version = "0.6"
features = ["fs"]
optional = true

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.uuid]
version = "1"
features = ["v4"]