id_effect_mail 0.13.0

Outgoing mail for id_effect services: SMTP, the SendGrid API, templates and delivery through jobs
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"
rust-version = "1.94"
name = "id_effect_mail"
version = "0.13.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Outgoing mail for id_effect services: SMTP, the SendGrid API, templates and delivery through jobs"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Industrial/id_effect"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[package.metadata.id_effect]
tier = "platform"

[features]
auth = ["dep:id_effect_auth"]
jobs = [
    "dep:id_effect_jobs",
    "dep:id_effect_sql",
]
preview = ["dep:axum"]

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

[[example]]
name = "010_addresses"
path = "examples/010_addresses.rs"

[[example]]
name = "010_mail"
path = "examples/010_mail.rs"
required-features = ["jobs"]

[[example]]
name = "020_templates"
path = "examples/020_templates.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.axum]
version = "0.8.9"
optional = true
default-features = false

[dependencies.base64]
version = "0.22.1"

[dependencies.id_effect]
version = "0.13.0"

[dependencies.id_effect_auth]
version = "0.13.0"
features = ["accounts"]
optional = true

[dependencies.id_effect_jobs]
version = "0.13.0"
optional = true

[dependencies.id_effect_platform]
version = "0.13.0"

[dependencies.id_effect_sql]
version = "0.13.0"
optional = true

[dependencies.lettre]
version = "0.11.23"
features = [
    "builder",
    "smtp-transport",
    "pool",
    "tokio1-rustls",
    "aws-lc-rs",
    "webpki-roots",
]
default-features = false

[dependencies.minijinja]
version = "2"
features = ["loader"]

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

[dev-dependencies.reqwest]
version = "0.13"
default-features = false

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

[dev-dependencies.tokio]
version = "1.50.0"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "io-util",
    "time",
]

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

[lints.rust]
unsafe_code = "forbid"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]