[package] name = "massping" version = "0.3.5" 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.64" [package.metadata.docs.rs] features = ["tokio/time"] all-features = true [dependencies] pnet_packet = "0.33" 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"]