1 unstable release
0.1.0 | Jan 24, 2021 |
---|
#22 in #en
230KB
133 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