# 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.1.4"
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"

[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"]

[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
