sendout 0.2.2

A library for sending emails from you application
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.93.0"
name = "sendout"
version = "0.2.2"
authors = ["Sede Soukossi"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for sending emails from you application"
readme = "README.md"
keywords = [
    "email",
    "mailer",
    "message",
    "postmark",
]
categories = ["email"]
license = "MPL-2.0"
repository = "https://github.com/aklanti/sendout"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bon = ["dep:bon"]
garde = ["dep:garde"]
postmark = []
reqwest = ["dep:reqwest"]
test-util = []
tracing = ["dep:tracing"]

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

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

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

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

[dependencies.bon]
version = "3.8"
optional = true

[dependencies.bytes]
version = "1"

[dependencies.garde]
version = "0.22"
features = [
    "derive",
    "email",
    "unicode",
    "url",
]
optional = true

[dependencies.http]
version = "1.4.0"

[dependencies.reqwest]
version = "0.13.2"
features = ["json"]
optional = true

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3.16"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.googletest]
version = "0.14"

[dev-dependencies.insta]
version = "1.46"
features = ["yaml"]

[dev-dependencies.reqwest]
version = "0.13.2"

[dev-dependencies.tokio]
version = "1.49"
features = [
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.uuid]
version = "1.21.0"
features = ["v4"]

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

[lints.clippy]
allow_attributes_without_reason = "warn"
missing_const_for_fn = "warn"
missing_docs_in_private_items = "warn"
mod_module_files = "warn"
option_if_let_else = "warn"
panic_in_result_fn = "warn"
too_long_first_doc_paragraph = "warn"
unused_self = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "warn"
non_snake_case = "allow"
trivial_numeric_casts = "warn"
unsafe_code = "forbid"
unused-lifetimes = "warn"
unused-macro-rules = "warn"
unused_import_braces = "warn"
unused_must_use = "deny"

[lints.rustdoc]
broken_intra_doc_links = "warn"
private_doc_tests = "warn"
unescaped_backticks = "warn"

[profile.dev.package.insta]
opt-level = 3

[profile.dev.package.similar]
opt-level = 3