netchecker 0.5.0

Cross-platform internet reachability checker: probes infrastructure, DNS, and a set of domestic/global/filtered sites in parallel
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "netchecker"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform internet reachability checker: probes infrastructure, DNS, and a set of domestic/global/filtered sites in parallel"
readme = "README.md"
license = "MIT"
repository = "https://github.com/pourmand1376/netchecker"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
pkg-fmt = "zip"

[package.metadata.deb]
maintainer = "Amir Pourmand <pourmand1376@gmail.com>"
copyright = "2026, Amir Pourmand"
license-file = [
    "LICENSE",
    "0",
]
extended-description = "netchecker probes local infrastructure, DNS, and a curated set of domestic/global/filtered websites in parallel, reporting PASS/FAIL/INFO with timings. Direct mode tests the raw ISP path; proxy mode routes through the system proxy."
section = "utils"
priority = "optional"
assets = [
    [
    "target/release/netchecker",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/netchecker/README.md",
    "644",
],
]

[lib]
name = "netchecker"
path = "src/lib.rs"

[[bin]]
name = "netchecker"
path = "src/main.rs"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.futures]
version = "0.3"

[dependencies.hickory-resolver]
version = "0.24"

[dependencies.netdev]
version = "0.31"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "socks",
    "http2",
]
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "time",
]

[profile.release]
opt-level = "z"
lto = true
strip = true