#bittorrent

bencode

Bencode library for easy encoding/decoding

15 releases

Uses old Rust 2015

0.1.16 Apr 1, 2017
0.1.15 Dec 24, 2016
0.1.14 Oct 27, 2016
0.1.12 May 15, 2015
0.1.1 Dec 27, 2014

#83 in #bittorrent

Download history 394/week @ 2024-07-29 14/week @ 2024-08-05 22/week @ 2024-08-12 7/week @ 2024-08-19 8/week @ 2024-08-26 12/week @ 2024-09-02 14/week @ 2024-09-09 13/week @ 2024-09-16 26/week @ 2024-09-23 22/week @ 2024-09-30 7/week @ 2024-10-07 12/week @ 2024-10-14 13/week @ 2024-10-21 6/week @ 2024-10-28 29/week @ 2024-11-04

60 downloads per month
Used in 2 crates

MIT/Apache

90KB
2K SLoC

Rust Bencode

Build Status

Implementation of Bencode encoding written in rust.

What is Bencode?

It is the encoding used by the BitTorrent file sharing system. More on wikipedia.

Using the library

Add this to your Cargo.toml:

[dependencies.bencode]

git = "https://github.com/arjantop/rust-bencode.git"

Documentation

On docs.rd

Contributing

git clone https://github.com/arjantop/rust-bencode
cd rust-bencode
make

Dependencies

~575KB
~10K SLoC