No Flash, No Java, No Websocket, No Setup environment, No Docker.
This is a very lightweight Speedtest implemented in Rust, and only one executable file.
You can download the precompiled binary release
- Install Rust
curl https://sh.rustup.rs -sSf | sh
- Cargo build
cargo build --release
By default, Rust will statically link all Rust code. However, if you use the standard library, it will dynamically link to the system's libc implementation
If you'd like a 100% static binary, the MUSL libc can be used on Linux
To get support for this target, you use rustup:
rustup target add x86_64-unknown-linux-musl
To use this new target, pass the --target flag to Cargo:
cargo build --target x86_64-unknown-linux-musl
speedtest-rs 1.0.1
USAGE:
speedtest-rs [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-i, --ip <ip> Listen ip [default: 0.0.0.0]
-p, --port <port> Listen port [default: 8088]