#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

#1999 in Encoding

Download history 8/week @ 2023-12-18 16/week @ 2024-01-08 10/week @ 2024-02-12 58/week @ 2024-02-19 26/week @ 2024-02-26 33/week @ 2024-03-04 26/week @ 2024-03-11 35/week @ 2024-03-18 404/week @ 2024-04-01

471 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

~585KB
~11K SLoC