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_COLORsupport — 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 withsrc/share.rs)
Improvements
- Refactored
format_detailedfrom ~350 lines to ~80 lines with 8 focused sub-functions - Added
#[must_use]to ~15 pure functions and# Errorsdocs to ~15 publicResultfunctions - 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-tlsfor 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-cliFull Changelog
See CHANGELOG.md