TOMLCargo.toml -rw-r--r-- 1.5 KiB
1[package]
2name = "mail-auth"
3description = "DKIM, ARC, SPF and DMARC library for Rust"
4version = "0.5.0"
5edition = "2021"
6authors = [ "Stalwart Labs <hello@stalw.art>"]
7license = "Apache-2.0 OR MIT"
8repository = "https://github.com/stalwartlabs/mail-auth"
9homepage = "https://github.com/stalwartlabs/mail-auth"
10keywords = ["dkim", "dmarc", "spf", "arc", "mail"]
11categories = ["email", "authentication"]
12readme = "README.md"
13resolver = "2"
14
15[lib]
16doctest = false
17
18[features]
19default = ["ring", "rustls-pemfile"]
20rust-crypto = ["ed25519-dalek", "rsa", "sha1", "sha2"]
21generate = ["rsa", "rand"]
22test = []
23
24[dependencies]
25ahash = "0.8.0"
26ed25519-dalek = { version = "2.0", optional = true }
27flate2 = "1.0.25"
28lru-cache = "0.1.2"
29mail-parser = { version = "0.9", features = ["ludicrous_mode", "full_encoding"] }
30mail-builder = { version = "0.3", features = ["ludicrous_mode"] }
31parking_lot = "0.12.0"
32quick-xml = "0.36"
33ring = { version = "0.17", optional = true }
34rsa = { version = "0.9.6", optional = true }
35rustls-pemfile = { version = "2", optional = true }
36serde = { version = "1.0", features = ["derive"] }
37serde_json = "1.0"
38sha1 = { version = "0.10", features = ["oid"], optional = true }
39sha2 = { version = "0.10.6", features = ["oid"], optional = true }
40hickory-resolver = { version = "0.24", features = ["dns-over-rustls", "dnssec-ring"] }
41zip = "2.1.1"
42rand = { version = "0.8.5", optional = true }
43
44[dev-dependencies]
45tokio = { version = "1.16", features = ["net", "io-util", "time", "rt-multi-thread", "macros"] }
46rustls-pemfile = "2"
47psl = "2.1.55"