-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
49 lines (41 loc) · 1.15 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
[package]
name = "srv-rs"
version = "0.2.0"
authors = ["Max Heller <[email protected]>"]
edition = "2018"
description = "Rust client for communicating with SRV-located services"
readme = "README.md"
homepage = "https://github.com/deshaw/srv-rs"
repository = "https://github.com/deshaw/srv-rs"
license = "BSD-3-Clause"
keywords = ["srv", "record", "dns", "resolve", "libresolv"]
categories = ["network-programming"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
all-features = true
[features]
default = ["log"]
libresolv = ["libresolv-sys"]
log = ["tracing"]
trust-dns = ["trust-dns-resolver"]
[dependencies]
arc-swap = "1.0"
async-trait = "0.1"
futures-util = "0.3"
http = "0.2"
libresolv-sys = { version = "0.2", optional = true }
rand = "0.7"
thiserror = "1.0"
tracing = { version = "0.1", optional = true }
trust-dns-resolver = { version = "0.19", optional = true }
[dev-dependencies]
criterion = "0.3"
futures = "0.3"
hyper = "0.13"
tokio = { version = "0.2", features = ["rt-threaded", "macros"] }
[[bench]]
name = "client"
harness = false
[[bench]]
name = "resolver"
harness = false