forked from dylanmckay/mdns
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
40 lines (34 loc) · 1.08 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
[package]
rust-version = "1.58.1"
name = "mdns"
version = "5.0.0"
authors = ["Dylan McKay <[email protected]>"]
edition = "2021"
description = """
A multicast DNS client library.
Supports discovery of any mDNS device on a LAN.
"""
license = "MIT"
documentation = "https://docs.rs/mdns"
repository = "https://github.com/dylanmckay/mdns"
categories = ["network-programming"]
keywords = ["mdns", "dns", "multicast", "chromecast", "discovery"]
[features]
default = ["runtime-async-std", "with-serde"]
runtime-async-std = ["async-std"]
runtime-tokio = ["tokio", "tokio-stream"]
with-serde = ["serde"]
[dependencies]
bstr = "0.2.17"
dns-parser = "0.8.0"
net2 = "0.2"
err-derive = "0.2.1"
futures-core = "0.3.1"
futures-util = "0.3.1"
log = "0.4"
async-stream = "0.3"
async-std = { optional = true, version = "1.6.2", features = ["unstable", "attributes"] }
tokio = {optional = true, version = "1.8", features = ["time", "net", "rt-multi-thread", "macros"]}
tokio-stream = {optional = true, version = "0.1.8", features = ["time"]}
serde = {optional = true, version = "1", features = ["derive"]}
unicase="2.6.0"