-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
52 lines (45 loc) · 1.31 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
[package]
name = "rsdns"
version = "0.19.0"
authors = ["Rafael Buchbinder <[email protected]>"]
edition = "2021"
description = "DNS Client Library"
license = "MIT OR Apache-2.0"
keywords = ["dns", "dig", "async", "resolver"]
categories = ["asynchronous", "network-programming", "parser-implementations"]
repository = "https://github.com/r-bk/rsdns"
exclude = [".git*", "Makefile.toml"]
[dependencies]
thiserror = "1.0.26"
arrayvec = "0.7.1"
rand = "0.8.4"
cfg-if = "1.0.0"
tokio = { version = "1", optional = true, default-features = false, features = [
"rt",
"net",
"time",
"io-util",
] }
async-std = { version = "1", optional = true }
smol = { version = "2", optional = true }
smol-timeout = { version = "0.6.0", optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
socket2 = { version = "0.5.1", optional = true, features = ["all"] }
[features]
default = []
net-std = []
net-tokio = ["dep:tokio"]
net-async-std = ["dep:async-std"]
net-smol = ["dep:smol", "dep:smol-timeout"]
socket2 = ["dep:socket2"]
[build-dependencies]
tera = "1.18.1"
[dev-dependencies]
async-std = { version = "1", features = ["attributes"] }
tokio = { version = "1", features = ["macros"] }
smol-potat = "1.1.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[workspace]
members = [".", "bench"]