# 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 = "2021"
name = "nd300"
version = "3.3.2"
authors = ["Emmett S <hey@emmetts.dev>"]
build = "build.rs"
include = [
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "LICENSE",
    "CHANGELOG.md",
    "build.rs",
    "man/**",
    "src/**",
    "wix-corporate/**",
    "inno/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform network diagnostic tool"
readme = "README.md"
keywords = [
    "cli",
    "network",
    "diagnostic",
    "cross-platform",
]
categories = ["command-line-utilities"]
license = "PolyForm-Noncommercial-1.0.0"
repository = "https://github.com/QubeTX/qube-network-diagnostics"

[package.metadata.wix]
upgrade-guid = "7208E6EA-ABAE-4AF6-A69C-7C7E4DA3DDF5"
path-guid = "D131558E-5659-455C-A5C7-3E7943C3B005"
license = false
eula = false

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

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

[[bin]]
name = "speedqx"
path = "src/bin/speedqx.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.crossterm]
version = "0.28"

[dependencies.default-net]
version = "0.22"

[dependencies.futures-util]
version = "0.3"

[dependencies.indicatif]
version = "0.18"

[dependencies.owo-colors]
version = "4"

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

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sysinfo]
version = "0.32"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.24"
features = [
    "rustls-tls-native-roots",
    "rustls-tls-webpki-roots",
]

[dependencies.url]
version = "2"

[build-dependencies.clap]
version = "4.5"
features = ["derive"]

[build-dependencies.clap_mangen]
version = "0.2"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = [
    "net",
    "socket",
]

[target."cfg(windows)".dependencies.ipconfig]
version = "0.3"

[target."cfg(windows)".dependencies.sha2]
version = "0.10"

[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
    "consoleapi",
    "wincon",
    "iphlpapi",
    "tcpmib",
    "udpmib",
    "ifdef",
    "winsock2",
    "ws2def",
    "ws2tcpip",
    "netioapi",
    "iptypes",
]

[target."cfg(windows)".dependencies.winreg]
version = "0.52"

[target."cfg(windows)".dependencies.wmi]
version = "0.14"

[profile.dist]
lto = "thin"
inherits = "release"
