#decoding #codec

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

#2224 in Encoding

46 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