#bencode #serialization #deserialize #serde

rustybit-serde-bencode

A bencode serializing/deserializing library powered by Serde

1 stable release

1.0.0 Aug 25, 2024

#1068 in Encoding

26 downloads per month
Used in 3 crates

Apache-2.0

46KB
1K SLoC

RustyBit

A simple CLI bittorrent client.

It also partially supports the DHT protocol.

Installation

cargo install rustybit

Usage

To download a torrent into the $(pwd)/.downloads folder, run the following command:

rustybit <torrent_path>

If you want to change the output directory, use this command instead:

rustybit <torrent_path> -o <output_dir_path>

Missing features

It currently misses the following features (and I'm not sure whether I would add them):

  • Seeding torrents
  • Extension protocol support
  • Full DHT node
  • Downloading multiple torrents in parallel
  • Pausing/resuming torrents
  • Proper GUI/TUI

Dependencies

~0.3–1MB
~22K SLoC