1 unstable release
0.1.0 | Jan 28, 2021 |
---|
#26 in #bencode
230KB
153 lines
Torrent
A torrent library written from scratch in rust.
- Uses a from scratch bencode parser to read the files.
- returns a Torrent struct that follows the definitions laid out at:
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