mailrs-spf 1.0.4

RFC 7208 Sender Policy Framework verifier. Pure-Rust evaluator with a pluggable DNS resolver trait; ships an optional hickory-resolver-backed implementation. Bounded DNS-lookup limits + loop detection per spec.
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 = "2024"
name = "mailrs-spf"
version = "1.0.4"
authors = ["GOLIA K.K."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RFC 7208 Sender Policy Framework verifier. Pure-Rust evaluator with a pluggable DNS resolver trait; ships an optional hickory-resolver-backed implementation. Bounded DNS-lookup limits + loop detection per spec."
homepage = "https://github.com/goliajp/mailrs"
documentation = "https://docs.rs/mailrs-spf"
readme = "README.md"
keywords = [
    "spf",
    "rfc7208",
    "email",
    "auth",
    "smtp",
]
categories = [
    "email",
    "network-programming",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/goliajp/mailrs"
resolver = "2"

[features]
default = ["hickory"]
hickory = ["dep:hickory-resolver"]

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

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

[[bench]]
name = "compare_mail_auth"
path = "benches/compare_mail_auth.rs"
harness = false

[[bench]]
name = "spf"
path = "benches/spf.rs"
harness = false

[dependencies.async-trait]
version = "0.1"

[dependencies.hickory-resolver]
version = "0.26"
optional = true

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.mail-auth]
version = "0.9"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[lints.clippy.all]
level = "deny"
priority = 0

[lints.rust]
warnings = "deny"