[dependencies.async-io]
optional = true
version = "2.6.0"
[dependencies.async-net]
optional = true
version = "2.0.0"
[dependencies.circular-buffer]
features = ["use_std"]
version = "1.2.0"
[dependencies.event-listener]
version = "5.4.1"
[dependencies.futures]
optional = true
version = "0.3.31"
[dependencies.pyo3]
features = ["abi3-py310"]
optional = true
version = "0.26.0"
[dependencies.thiserror]
version = "2.0.17"
[dev-dependencies.pyo3]
features = ["auto-initialize"]
version = "0.26.0"
[dev-dependencies.smol]
version = "2.0.2"
[features]
alternate_port = []
async = ["futures", "async-net", "async-io"]
default = []
py = ["pyo3"]
[lib]
name = "udp_pinger"
path = "src/lib.rs"
[package]
authors = ["Bowan Foryt <bowan@valstad.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming"]
description = "A library for pinging devices using unprivileged UDP packets."
edition = "2024"
keywords = ["ping", "udp", "networking", "rust", "python"]
license = "Apache-2.0"
name = "udp_pinger"
readme = "README.md"
repository = "https://github.com/valstad-shipworks/udp_pinger"
version = "0.2.0"
[profile.python]
debug = 1
inherits = "release"
[profile.release]
lto = true
[[test]]
harness = false
name = "ping"
path = "tests/ping.rs"
required-features = []
[[test]]
harness = false
name = "ping_async"
path = "tests/ping_async.rs"
required-features = ["async"]
[[test]]
harness = false
name = "ping_py"
path = "tests/ping_py.rs"
required-features = ["py"]
[[test]]
harness = false
name = "timesync"
path = "tests/timesync.rs"
required-features = []
[[test]]
harness = false
name = "timesync_py"
path = "tests/timesync_py.rs"
required-features = ["py"]