dmarc-report-parser 0.2.0

An RFC 7489-compliant DMARC aggregate report parser
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 = "2021"
name = "dmarc-report-parser"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An RFC 7489-compliant DMARC aggregate report parser"
readme = "README.md"
keywords = [
    "dmarc",
    "email",
    "parser",
    "rfc7489",
    "xml",
]
categories = [
    "email",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/chrj/dmarc-report-parser"

[features]
cli = [
    "dep:clap",
    "dep:colored",
    "dep:zip",
    "dep:chrono",
    "dep:flate2",
]

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

[[bin]]
name = "dmarc-report"
path = "src/main.rs"
required-features = ["cli"]

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

[dependencies.chrono]
version = "0.4"
features = ["std"]
optional = true
default-features = false

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.colored]
version = "3"
optional = true

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

[dependencies.quick-xml]
version = "0.39"
features = ["serialize"]

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

[dependencies.thiserror]
version = "2"

[dependencies.zip]
version = "8"
features = ["deflate"]
optional = true
default-features = false

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.tempfile]
version = "3.10"

[profile.dist]
lto = "thin"
inherits = "release"