-
-
Notifications
You must be signed in to change notification settings - Fork 181
/
Cargo.toml
80 lines (59 loc) · 1.58 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
76
77
78
79
80
[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.2.0-pre"
[[bin]]
name = "dog"
path = "src/main.rs"
doctest = false
[workspace]
members = [
"dns",
"dns-transport",
]
# make dev builds faster by excluding debug symbols
[profile.dev]
debug = false
# use LTO for smaller binaries (that take longer to build)
[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.8"
# json output
json = "0.12"
# 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 }
[dev-dependencies]
pretty_assertions = "0.7"
[features]
default = ["with_idna", "with_tls", "with_https", "with_nativetls"]
with_idna = ["dns/with_idna"]
with_tls = ["dns-transport/with_tls"]
with_https = ["dns-transport/with_https"]
with_nativetls = ["dns-transport/with_nativetls"]
with_nativetls_vendored = ["with_nativetls", "dns-transport/with_nativetls", "dns-transport/with_nativetls_vendored"]
with_rustls = ["dns-transport/with_rustls"]