[package]
edition = "2024"
rust-version = "1.92"
name = "email-message"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed outbound email message and address model"
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]
arbitrary = ["dep:arbitrary"]
default = []
mime = []
schemars = ["dep:schemars"]
serde = [
"dep:serde",
"time/serde",
]
[lib]
name = "email_message"
path = "src/lib.rs"
[[test]]
name = "arbitrary_feature"
path = "tests/arbitrary_feature.rs"
[[test]]
name = "list_constructors"
path = "tests/list_constructors.rs"
[[test]]
name = "parser_compat"
path = "tests/parser_compat.rs"
[[test]]
name = "property_roundtrip"
path = "tests/property_roundtrip.rs"
[[test]]
name = "property_validators"
path = "tests/property_validators.rs"
[[test]]
name = "rfc5322_corpus"
path = "tests/rfc5322_corpus.rs"
[[bench]]
name = "parsing"
path = "benches/parsing.rs"
harness = false
[dependencies.addr-spec]
version = "0.9"
features = ["literals"]
[dependencies.arbitrary]
version = "1"
features = ["derive"]
optional = true
[dependencies.mail-parser]
version = "0.11"
[dependencies.schemars]
version = "1.2"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
default-features = false
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
]
default-features = false