Torrust Serde Bencode
A Serde backed Bencode encoding/decoding library for Rust.
Forked from: https://github.com/toby/serde-bencode due to inactivity in upstream repo.
Installation
Add the following to your Cargo.toml
:
[]
= "^0.2.3"
= "^1.0.0"
= "^1.0.0"
Usage
This is an abbreviated .torrent
parsing example from examples/parse_torrent.rs. If you compile this crate as a binary, it will print metadata for any Torrent sent to stdin.