# 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.92"
name = "email-transport"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transport abstraction for outbound email"
homepage = "https://email-rs.dev"
readme = "README.md"
keywords = [
    "email",
    "smtp",
    "mail",
    "async",
    "mailer",
]
categories = [
    "email",
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/sagikazarmark/email-rs"
resolver = "2"

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

[features]
default = ["serde"]
serde = [
    "dep:serde",
    "dep:serde_json",
    "email-message/serde",
]
tracing = [
    "dep:tracing",
    "dep:web-time",
]

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

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

[dependencies.email-message]
version = "0.3.0"

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

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

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = ["formatting"]
default-features = false

[dependencies.tracing]
version = "0.1"
features = ["std"]
optional = true
default-features = false

[dev-dependencies.proptest]
version = "1"

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

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.web-time]
version = "1"
optional = true
