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
|
[package]
name = "dog"
description = "A command-line DNS client"
authors = ["Benjamin Sago <ogham@bsago.me>"]
categories = ["command-line-utilities"]
edition = "2018"
exclude = [
"/completions/*", "/man/*", "/xtests/*",
"/dog-screenshot.png", "/Justfile", "/README.md", "/.rustfmt.toml", "/.travis.yml",
]
homepage = "https://dns.lookup.dog/"
license = "EUPL-1.2"
version = "0.1.0"
[[bin]]
name = "dog"
path = "src/main.rs"
[workspace]
members = [
"dns",
"dns-transport",
]
[profile.release]
lto = true
overflow-checks = true
panic = "abort"
[dependencies]
# dns stuff
dns = { path = "./dns" }
dns-transport = { path = "./dns-transport" }
# command-line
ansi_term = "0.12"
atty = "0.2"
getopts = "0.2"
# transaction ID generation
rand = "0.7"
# json
serde = "1.0"
serde_json = "1.0"
# logging
log = "0.4"
# windows default nameserver determination
[target.'cfg(windows)'.dependencies]
ipconfig = { version = "0.2" }
[build-dependencies]
datetime = { version = "0.5.1", default_features = false }
regex = { version = "1.3", default_features = false, features = ["std"] }
[dev-dependencies]
pretty_assertions = "0.6"
[features]
default = ["tls", "https"]
tls = ["dns-transport/tls"]
https = ["dns-transport/https"]
|