-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
75 lines (59 loc) · 1.68 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "decon-spf"
version = "0.3.3"
authors = ["Adam.S <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
description = """
This is a simple tool that allows you to deconstruct an existing SPF record that might be
retreived in a normal DNS TXT lookup.
With version 0.2.0 you can now also construct a new Spf record.
"""
documentation = "https://docs.rs/decon-spf"
#homepage = ""
repository = "https://github.com/Bas-man/rust-decon-spf"
readme = "README.md"
keywords = ["dns", "spf"]
categories = ["network-programming", "parser-implementations"]
license = "MIT"
[lib]
name = "decon_spf"
path = "src/lib.rs"
[[example]]
name = "trust-dns-builder"
path = "examples/trust-dns-demo-builder.rs"
required-features = ["builder"]
[[example]]
name = "trust-dns-spf"
path = "examples/trust-dns-demo-spf.rs"
[[example]]
name = "build-spf"
path = "examples/build-spf.rs"
required-features = ["builder", "spf2"]
[[example]]
name = "build-spf-strict"
path = "examples/build-spf-strict.rs"
required-features = ["builder", "strict-dns", "spf2"]
[[example]]
name = "serde-demo"
path = "examples/serde-demo.rs"
required-features = ["serde", "spf2"]
[dependencies]
ipnetwork = "0.20.0"
regex = "1.11.1"
lazy_static = "1.5.0"
addr = { version = "0.15.6", optional = true }
serde = { version = "1.0.215", features = ["derive"], optional = true }
[dev-dependencies]
trust-dns-resolver = "0.23.2"
serde_json = "1.0.133"
[features]
default = ["ptr"]
builder = []
strict-dns = ["dep:addr"]
serde = ["dep:serde"]
spf2 = ["builder"]
ptr = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]