bencoding-rs Simple library for decoding bencoded data in Rust. Usage use bencoding::{decode, Bencode}; fn main() { let data = b"i42e"; let decoded = decode(data).unwrap(); assert_eq!(decoded, Bencode::Int(42)); } License MIT