-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
56 lines (51 loc) · 1.4 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
[package]
name = "ch4"
version = "0.16.0"
authors = ["Rafael Buchbinder <[email protected]>"]
edition = "2021"
description = "DNS Client Tool"
license = "MIT OR Apache-2.0"
keywords = ["dns", "dig", "resolver"]
categories = ["command-line-utilities"]
repository = "https://github.com/r-bk/ch4"
exclude = [".git*", "Makefile.toml"]
rust-version = "1.78"
[features]
default = ["net-tokio"]
net-std = ["rsdns/net-std"]
net-tokio = ["rsdns/net-tokio", "tokio"]
net-async-std = ["rsdns/net-async-std", "async-std"]
net-smol = ["rsdns/net-smol", "smol"]
socket2 = ["rsdns/socket2"]
[dependencies.rsdns]
version = "0.19.0"
default-features = false
# path = "dep/rsdns"
[dependencies]
cfg-if = "1.0.0"
anyhow = "1.0.42"
clap = { version = "4.5.20", features = ["derive"] }
chrono = "0.4.19"
base64 = "0.22.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1", optional = true, features = ["rt", "macros"] }
async-std = { version = "1", optional = true, features = ["attributes"] }
smol = { version = "2", optional = true }
[target.'cfg(windows)'.dependencies.windows]
version = "0.58.0"
features = [
"Win32_Foundation",
"Win32_NetworkManagement_IpHelper",
"Win32_NetworkManagement_Ndis",
"Win32_Networking_WinSock",
]
[build-dependencies]
built = { version = "0.7.1", features = [
"git2",
"chrono",
"semver",
"dependency-tree",
] }
tera = "1.19.0"
sysinfo = "0.32.0"