-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (37 loc) · 1.13 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
[package]
name = "ping-async"
version = "0.1.1"
authors = ["hankbao <[email protected]>"]
license = "MIT"
description = "Unprivileged Async Ping"
repository = "https://github.com/hankbao/ping-async"
homepage = "https://lib.rs/crates/ping-async"
documentation = "https://docs.rs/ping-async"
readme = "README.md"
keywords = ["ping", "icmp", "async", "tokio", "future"]
categories = ["network-programming"]
edition = "2021"
[dependencies]
log = "0.4"
futures = "0.3"
static_assertions = "1.1.0"
[target.'cfg(windows)'.dependencies.windows]
version = "0.54.0"
features = [
"Win32_Foundation",
"Win32_Networking_WinSock",
"Win32_NetworkManagement_IpHelper",
"Win32_Security",
"Win32_System_IO",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
]
[target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies]
byteorder = "1.0"
ippacket = "0.1"
rand = "0.8"
socket2 = "0.5.6"
tokio = { version = "1.36", features = ["macros", "net", "rt", "time"] }
[dev-dependencies]
tokio = { version = "1.36", features = ["macros", "rt-multi-thread", "time"] }
tokio-stream = { version = "0.1", features = ["time"] }