-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
37 lines (30 loc) · 910 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
30
31
32
33
34
35
36
37
[package]
name = "massping"
version = "0.3.6"
edition = "2021"
license = "MIT"
description = "ICMP ping library for sending batches of ICMP echo request packets and measuring the roundtrip time"
keywords = ["icmp", "ping"]
categories = ["network-programming"]
repository = "https://github.com/M4SS-Code/massping"
readme = "README.md"
rust-version = "1.70"
[package.metadata.docs.rs]
features = ["tokio/time"]
all-features = true
[dependencies]
pnet_packet = "0.35"
socket2 = { version = "0.5.1", features = ["all"] }
getrandom = "0.2"
tokio = { version = "1.15", features = ["net", "sync", "rt"] }
# weak
libc = "0.2"
# stream
futures-core = { version = "0.3", optional = true }
[dev-dependencies]
tokio = { version = "1.14", features = ["macros", "time"] }
futures-util = { version = "0.3", default-features = false }
[features]
default = ["strong", "stream"]
strong = []
stream = ["dep:futures-core"]