[package]
edition = "2021"
rust-version = "1.88"
name = "netspd"
version = "0.1.3"
build = false
exclude = [
"/assets/recording.gif",
"/assets/icons",
"/.github",
"/docs",
"/config",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A beautiful, modern, minimalistic network speed testing terminal application"
readme = "README.md"
keywords = [
"speedtest",
"network",
"tui",
"terminal",
"bandwidth",
]
categories = [
"command-line-utilities",
"network-programming",
]
license = "MIT"
repository = "https://github.com/TarunVishwakarma1/netspd"
[lib]
name = "netspd"
path = "src/lib.rs"
[[bin]]
name = "netspd"
path = "src/main.rs"
[[test]]
name = "bufferbloat"
path = "tests/bufferbloat.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "dial"
path = "tests/dial.rs"
[[test]]
name = "duration"
path = "tests/duration.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "format"
path = "tests/format.rs"
[[test]]
name = "health"
path = "tests/health.rs"
[[test]]
name = "history"
path = "tests/history.rs"
[[test]]
name = "icmp"
path = "tests/icmp.rs"
[[test]]
name = "metrics"
path = "tests/metrics.rs"
[[test]]
name = "provider"
path = "tests/provider.rs"
[[test]]
name = "providers_extra"
path = "tests/providers_extra.rs"
[[test]]
name = "serve"
path = "tests/serve.rs"
[[test]]
name = "share"
path = "tests/share.rs"
[[test]]
name = "spring"
path = "tests/spring.rs"
[[test]]
name = "state_ui"
path = "tests/state_ui.rs"
[[test]]
name = "theme"
path = "tests/theme.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.crossterm]
version = "0.29.0"
features = ["event-stream"]
[dependencies.dirs]
version = "6"
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.ratatui]
version = "0.30.2"
[dependencies.reqwest]
version = "0.13.4"
features = [
"rustls",
"stream",
"json",
"gzip",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.surge-ping]
version = "0.9"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
"net",
"io-util",
"signal",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.toml]
version = "1.1.2"
[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[profile.release]
lto = "thin"
codegen-units = 1
strip = true