waker-cli-0.1.0 is not a library.
waker-cli
A command-line application for sending Wake-on-LAN (WoL) magic packets over the network. It can be used to wake up a machine by its MAC address or by its alias, you can add machines through the CLI and save them to a config file, that way you don't have to memorize their MAC addresses.
Installation
You can install the application from:
- crates.io:
cargo install waker-cli - GitHub:
cargo install --git https://github.com/DarkCeptor44/waker waker-cli - Manually (after cloning the repo locally):
cargo install --path .
MSRV
The Minimum Supported Rust Version (MSRV) for waker-cli is 1.80.
Usage

)
)
)
)
Benchmarks
The CLI was benchmarked using Hyperfine. The profiles used were:
- Release
[]
= true
= 1
= 3
= true
- Fast
[]
= "release"
= false
Windows
- AMD64, 32GB RAM, Ryzen 7 3800X, Windows 10
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
wol 01:23:45:67:89:AB (swsnr/wol v0.3.1 + release) |
10.3 ± 0.7 | 9.1 | 13.0 | 1.00 |
wol-rs 01:23:45:67:89:AB (fengyc/wol-rs v1.1.0 + release) |
10.8 ± 1.5 | 9.5 | 27.9 | 1.05 ± 0.16 |
wake -n 01:23:45:67:89:AB (v0.1.0 + fast) |
16.3 ± 0.9 | 14.7 | 21.0 | 1.57 ± 0.13 |
wake -n 01:23:45:67:89:AB (v0.1.0 + release) |
16.3 ± 1.3 | 14.5 | 22.9 | 1.58 ± 0.16 |
Linux
- ARM64, 1GB RAM, Orange Pi Zero2, Debian 12
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
wol 01:23:45:67:89:AB (swsnr/wol v0.3.1 + release) |
2.3 ± 0.2 | 2.0 | 3.5 | 1.00 |
wake -n 01:23:45:67:89:AB (v0.1.0 + release) |
2.6 ± 0.2 | 2.2 | 3.3 | 1.12 ± 0.12 |
wake -n 01:23:45:67:89:AB (v0.1.0 + fast) |
3.0 ± 0.2 | 2.6 | 4.5 | 1.30 ± 0.14 |
wol-rs 01:23:45:67:89:AB (fengyc/wol-rs v1.1.0 + release) |
3.5 ± 0.2 | 3.2 | 4.2 | 1.55 ± 0.15 |
wakeonlan 01:23:45:67:89:AB (jpoliv/wakeonlan v0.41-12.1) |
92.2 ± 6.0 | 89.9 | 124.2 | 40.31 ± 4.26 |
License
This project is licensed under the GNU General Public License v3.0.