2 releases
0.1.1 | Dec 30, 2023 |
---|---|
0.1.0 | Nov 21, 2020 |
#601 in Network programming
57KB
861 lines
xerus
A command-line BitTorrent client, written in Rust.
Usage
xerus 0.1.0
zenoxygen <zenoxygen@protonmail.com>
A command-line BitTorrent client, written in Rust.
USAGE:
xerus -f <file> -t <torrent>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-f <file> The path where to save the file
-t <torrent> The path to the torrent
Example
Try to download an official Debian ISO image:
$> ./xerus -f debian-10.7.0-amd64-netinst.iso -t debian-10.7.0-amd64-netinst.iso.torrent
Downloading "debian-10.7.0-amd64-netinst.iso" (1344 pieces)
Saved in "debian-10.7.0-amd64-netinst.iso".
And verify the checksum matches that expected from the checksum file:
$> sha512sum -c SHA512SUM | grep debian-10.7.0-amd64-netinst.iso
debian-10.7.0-amd64-netinst.iso: OK
Debug
Run with the environment variable set:
$> RUST_LOG=trace ./xerus -f <file> -t <torrent>
Documentation
Learn more here: https://docs.rs/xerus.
License
Xerus is distributed under the terms of the MIT License.
Dependencies
~37–52MB
~1M SLoC