[package]
edition = "2021"
rust-version = "1.80"
name = "daaki-message"
version = "0.2.0"
authors = ["Anees Iqbal <hello@aneesiqbal.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RFC 5322 email message parser and builder"
homepage = "https://daaki.dev"
readme = "README.md"
keywords = [
"email",
"mime",
"rfc5322",
"message",
"parser",
]
categories = [
"email",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/steelbrain/daaki"
[features]
serde = ["dep:serde"]
[lib]
name = "daaki_message"
path = "src/lib.rs"
[[test]]
name = "audit_edge_cases"
path = "tests/audit_edge_cases.rs"
[[test]]
name = "check_ord"
path = "tests/check_ord.rs"
[[test]]
name = "probe_bugs"
path = "tests/probe_bugs.rs"
[[test]]
name = "prop_date_lenient"
path = "tests/prop_date_lenient.rs"
[[test]]
name = "prop_encoded_words"
path = "tests/prop_encoded_words.rs"
[[test]]
name = "prop_roundtrip"
path = "tests/prop_roundtrip.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[[test]]
name = "rfc5322_conformance"
path = "tests/rfc5322_conformance.rs"
[[test]]
name = "serde_api"
path = "tests/serde_api.rs"
[[test]]
name = "serde_basic"
path = "tests/serde_basic.rs"
[[test]]
name = "trait_checks"
path = "tests/trait_checks.rs"
[dependencies.base64]
version = "0.22"
[dependencies.encoding_rs]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
expect_used = "warn"
missing_const_for_fn = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
redundant_pub_crate = "allow"
unused_async = "allow"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"