-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
30 lines (22 loc) · 997 Bytes
/
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
[package]
name = "dns-mail-discover"
version = "0.2.7"
edition = "2021"
description = "A dns based mail server discovery crate."
license = "MIT"
documentation = "https://docs.dust.email/packages/dns-mail-discover"
repository = "https://github.com/Dust-Mail/dns-mail-discover"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log = "0.4.20"
trust-dns-resolver = "0.22.0"
async-std-resolver = { version = "0.22.0", optional = true }
tokio = {version = "1.33.0", default-features = false, features = ["net", "macros"], optional = true }
async-native-tls = { version = "0.5.0", default-features = false }
async-std = { version = "1.12.0", features = ["attributes"], optional = true}
[dev-dependencies]
env_logger = "0.10.0"
[features]
default = ["runtime-tokio"]
runtime-tokio = ["async-native-tls/runtime-tokio", "dep:tokio"]
runtime-async-std = ["async-native-tls/runtime-async-std", "dep:async-std-resolver", "dep:async-std"]