# 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 = "mxr-outbound"
version = "0.4.62"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal: shared outbound message rendering and building for mxr"
homepage = "https://github.com/planetaryescape/mxr"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/planetaryescape/mxr"

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

[dependencies.comrak]
version = "0.31"
features = ["shortcodes"]
default-features = false

[dependencies.dirs]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.lettre]
version = "0.11"
features = [
    "tokio1-rustls-tls",
    "builder",
    "hostname",
    "pool",
    "smtp-transport",
]
default-features = false

[dependencies.mxr-core]
version = "0.4.54"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.uuid]
version = "1"
features = [
    "v5",
    "v7",
    "serde",
]

[lints.clippy]
panic = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "deny"
unused_must_use = "deny"
