bdecode 0.1.0

A Bencode decoder in Rust which uses the same algorithm as libtorrent.
Documentation

bdecode

Goals

  • Strictly adhere to the Bencode specification. Don't accept bencodings that are not in canonical form.
  • Minimize the use of external dependencies. Currently we only depend on the memchr crate.
  • Be reasonably performant.

Documentation

Documentation can be found at https://docs.rs/bdecode

Usage

Add this to your Cargo.toml:

[dependencies]
bdecode = "0.1"

and this to your crate root (if you're using Rust 2015):

extern crate bdecode;

License

This project is licensed under either of

at your option.