TOMLCargo.toml -rw-r--r-- 1.6 KiB
1[package]
2name = "mail-auth"
3description = "DKIM, ARC, SPF and DMARC library for Rust"
4version = "0.3.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"]
21test = []
22
23[dependencies]
24ahash = "0.8.0"
25ed25519-dalek = { version = "1.0.1", optional = true }
26flate2 = "1.0.25"
27lru-cache = "0.1.2"
28mail-parser = { version = "0.8", git = "https://github.com/stalwartlabs/mail-parser", features = ["ludicrous_mode", "full_encoding"] }
29mail-builder = { version = "0.2.5", git = "https://github.com/stalwartlabs/mail-builder", features = ["ludicrous_mode"] }
30parking_lot = "0.12.0"
31quick-xml = "0.27.1"
32ring = { version = "0.16.20", optional = true }
33rsa = { version = "0.7.0", optional = true }
34rustls-pemfile = { version = "1", optional = true }
35serde = { version = "1.0", features = ["derive"] }
36serde_json = "1.0"
37sha1 = { version = "0.10", features = ["oid"], optional = true }
38sha2 = { version = "0.10.6", features = ["oid"], optional = true }
39trust-dns-resolver = { version = "0.22.0", features = ["dns-over-rustls", "dnssec-ring"] }
40zip = "0.6.3"
41
42[dev-dependencies]
43tokio = { version = "1.16", features = ["net", "io-util", "time", "rt-multi-thread", "macros"] }
44rustls-pemfile = "1"