github mapleDevJS/netspeed-cli v0.3.0

latest releases: v0.10.3, v0.10.2, v0.10.1...
6 months ago

netspeed-cli v0.3.0

Major feature release with new measurements, cleanup, and improved code quality.

New Features

  • Latency under load — measures latency degradation during active download/upload tests
  • Jitter — displayed alongside latency results
  • Peak speeds — maximum burst speed for both download and upload
  • Connection quality rating — composite score: Excellent / Great / Good / Fair / Moderate / Poor
  • Data transferred + duration — shown in test summary footer
  • Real server distance — haversine formula with client geolocation from speedtest.net API
  • NO_COLOR support — disable colored output via environment variable

Breaking Changes

Removed dead CLI flags — update any scripts that use these:

  • --mini (removed)
  • --secure (removed)
  • --no-pre-allocate (removed)
  • --share (removed, along with src/share.rs)

Improvements

  • Refactored format_detailed from ~350 lines to ~80 lines with 8 focused sub-functions
  • Added #[must_use] to ~15 pure functions and # Errors docs to ~15 public Result functions
  • Zero clippy warnings (was 85 pedantic warnings)
  • Removed unused dependencies: md-5, digest, hex
  • Removed dead code: TimeoutError, ServerListOutput, calculate_server_distances, validate_ip, and more
  • Switched to rustls-tls for cross-platform TLS compatibility
  • Updated to Rust edition 2024, minimum Rust version 1.85

Install

# Homebrew (macOS/Linux)
brew install mapledevjs/netspeed-cli/netspeed-cli

# Cargo
cargo install netspeed-cli

Full Changelog

See CHANGELOG.md

Don't miss a new netspeed-cli release

NewReleases is sending notifications on new releases.