[package]
edition = "2024"
rust-version = "1.98"
name = "postacert"
version = "0.1.0"
authors = ["Luca Cappelletti <cappelletti.luca94@gmail.com>"]
build = false
include = [
"/src",
"/tests/*.rs",
"/tests/fixtures/daticert",
"/tests/fixtures/messages",
"/tests/fixtures/original",
"/README.md",
"/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parsing PEC messages, Italian certified email, and reading and writing their daticert.xml certification data"
documentation = "https://docs.rs/postacert"
readme = "README.md"
keywords = [
"pec",
"certified-email",
"italy",
"email",
"daticert",
]
categories = [
"email",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/LucaCappelletti94/postacert"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "postacert"
path = "src/lib.rs"
[[test]]
name = "certification"
path = "tests/certification.rs"
[[test]]
name = "message"
path = "tests/message.rs"
[[test]]
name = "real_messages"
path = "tests/real_messages.rs"
[[test]]
name = "short_receipt"
path = "tests/short_receipt.rs"
[dependencies.jiff]
version = "0.2.39"
features = ["alloc"]
default-features = false
[dependencies.mail-parser]
version = "1.0.1"
[dependencies.quick-xml]
version = "0.42.0"
features = ["serialize"]
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.sha1]
version = "0.11.0"
default-features = false
[dependencies.thiserror]
version = "2.0.21"
[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
expect_used = "warn"
missing_docs_in_private_items = "warn"
multiple_crate_versions = "allow"
redundant_pub_crate = "allow"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
unwrap_used = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[profile.mutants]
debug = 0
inherits = "test"