[package]
edition = "2021"
rust-version = "1.89"
name = "net-kit"
version = "0.1.0"
build = false
include = [
"/Cargo.toml",
"/README.md",
"/src/**",
"/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform network reachability monitoring with a single Net facade and Tokio runtime support."
documentation = "https://docs.rs/net-kit"
readme = "README.md"
keywords = [
"network",
"monitor",
"reachability",
"tokio",
"netwatch",
]
categories = [
"network-programming",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/0barman/net-kit"
[lib]
name = "net_kit"
path = "src/lib.rs"
[[test]]
name = "cross_thread"
path = "tests/cross_thread.rs"
[[test]]
name = "external_runtime"
path = "tests/external_runtime.rs"
[[test]]
name = "invalid_input"
path = "tests/invalid_input.rs"
[[test]]
name = "listener_management"
path = "tests/listener_management.rs"
[[test]]
name = "move_semantics"
path = "tests/move_semantics.rs"
[[test]]
name = "normal_usage"
path = "tests/normal_usage.rs"
[[test]]
name = "repeated_calls"
path = "tests/repeated_calls.rs"
[[test]]
name = "state_queries"
path = "tests/state_queries.rs"
[[test]]
name = "stress"
path = "tests/stress.rs"
[dependencies.n0-watcher]
version = "=1.0.0-rc.0"
[dependencies.netwatch]
version = "0.18.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"time",
]
[dependencies.vibe-ready]
version = "0.1.1"
features = [
"log-noop",
"store-noop",
]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
]
[target."cfg(windows)".dependencies.windows]
version = "0.61.3"
features = [
"Win32_Networking_NetworkListManager",
"Win32_System_Com",
]