#bencode #serde #serialization #deserialize

rustybit-serde-bencode

A bencode serializing/deserializing library powered by Serde

1 stable release

1.0.0 Aug 25, 2024

#30 in #bencode

Download history 127/week @ 2024-08-20 45/week @ 2024-08-27 5/week @ 2024-09-10

177 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.4–1MB
~22K SLoC