#bencode #encoding #decoding

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

#7 in #bencode

Download history 24/week @ 2021-02-26 12/week @ 2021-03-05 17/week @ 2021-03-12 51/week @ 2021-03-19 52/week @ 2021-03-26 56/week @ 2021-04-02 21/week @ 2021-04-09 45/week @ 2021-04-16 33/week @ 2021-04-23 15/week @ 2021-04-30 12/week @ 2021-05-07 26/week @ 2021-05-14 14/week @ 2021-05-21 26/week @ 2021-05-28 16/week @ 2021-06-04 33/week @ 2021-06-11

137 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

~535KB
~10K SLoC