# Torrent A torrent library written from scratch in rust. - Uses a from scratch [bencode parser](https://github.com/sveppa/bencode) to read the files. - returns a Torrent struct that follows the definitions laid out at: - https://en.wikipedia.org/wiki/Torrent_file ## 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 - [x] ~~proof of concept~~ - [ ] implement proper errors - [ ] a bunch of unit tests