# 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 = "mail-auth" version = "0.5.0" authors = ["Stalwart Labs "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "DKIM, ARC, SPF and DMARC library for Rust" homepage = "https://github.com/stalwartlabs/mail-auth" readme = "README.md" keywords = [ "dkim", "dmarc", "spf", "arc", "mail", ] categories = [ "email", "authentication", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/stalwartlabs/mail-auth" resolver = "2" [lib] name = "mail_auth" path = "src/lib.rs" doctest = false [[example]] name = "arc_seal" path = "examples/arc_seal.rs" [[example]] name = "arc_verify" path = "examples/arc_verify.rs" [[example]] name = "dkim_sign" path = "examples/dkim_sign.rs" [[example]] name = "dkim_verify" path = "examples/dkim_verify.rs" [[example]] name = "dmarc_verify" path = "examples/dmarc_verify.rs" [[example]] name = "report_arf_generate" path = "examples/report_arf_generate.rs" [[example]] name = "report_arf_parse" path = "examples/report_arf_parse.rs" [[example]] name = "report_dmarc_generate" path = "examples/report_dmarc_generate.rs" [[example]] name = "report_dmarc_parse" path = "examples/report_dmarc_parse.rs" [[example]] name = "spf_verify" path = "examples/spf_verify.rs" [dependencies.ahash] version = "0.8.0" [dependencies.ed25519-dalek] version = "2.0" optional = true [dependencies.flate2] version = "1.0.25" [dependencies.hickory-resolver] version = "0.24" features = [ "dns-over-rustls", "dnssec-ring", ] [dependencies.lru-cache] version = "0.1.2" [dependencies.mail-builder] version = "0.3" features = ["ludicrous_mode"] [dependencies.mail-parser] version = "0.9" features = [ "ludicrous_mode", "full_encoding", ] [dependencies.parking_lot] version = "0.12.0" [dependencies.quick-xml] version = "0.36" [dependencies.rand] version = "0.8.5" optional = true [dependencies.ring] version = "0.17" optional = true [dependencies.rsa] version = "0.9.6" optional = true [dependencies.rustls-pemfile] version = "2" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha1] version = "0.10" features = ["oid"] optional = true [dependencies.sha2] version = "0.10.6" features = ["oid"] optional = true [dependencies.zip] version = "2.1.1" [dev-dependencies.psl] version = "2.1.55" [dev-dependencies.rustls-pemfile] version = "2" [dev-dependencies.tokio] version = "1.16" features = [ "net", "io-util", "time", "rt-multi-thread", "macros", ] [features] default = [ "ring", "rustls-pemfile", ] generate = [ "rsa", "rand", ] rust-crypto = [ "ed25519-dalek", "rsa", "sha1", "sha2", ] test = []