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