#bencode #parser #top #torrent #tiny #built #benko

torq

a tiny torrent parser. built on top of Benko

1 unstable release

0.1.0 Jan 28, 2021

#26 in #bencode

Unlicense OR MIT

230KB
153 lines

Torrent

A torrent library written from scratch in rust.

Structure

  src/
    lib.rs      -   the tests are in here.
    parser.rs   -   a bunch of helper functions.
    types.rs    -   the structs and parsing function
                    that implement the Torrent struct.

TODO

  • proof of concept
  • implement proper errors
  • a bunch of unit tests

lib.rs:

benko

a torrent library from scratch. reference: https://en.wikipedia.org/wiki/Torrent_file

Dependencies