{"id":63544,"library":"serde-bencode","title":"serde-bencode","description":"A Serde backed Bencode encoding/decoding library for Rust.","status":"active","version":"0.2.4","language":"rust","source_language":null,"source_url":"https://github.com/toby/serde-bencode","tags":["bencode","serde","encoding","torrent"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nserde_bencode = \"0.2.4\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add serde_bencode","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"from_bytes","correct":"use serde_bencode::from_bytes;"}],"quickstart":{"code":"use serde_bencode::from_bytes;\nuse serde::Deserialize;\n\n#[derive(Deserialize)]\nstruct Info { name: String }\nlet data = b\"d4:name5:helloe\";\nlet info: Info = from_bytes(data).unwrap();","lang":"rust","description":"Decodes a bencoded byte slice into a struct."},"warnings":[],"env_vars":null,"search_vec":"'back':6 'bencod':3,7,12 'encod':14 'encoding/decoding':8 'librari':9 'rust':11 'serd':2,5,13 'serde-bencod':1 'torrent':15","created_at":"2026-06-17T16:45:04.969328+00:00","updated_at":"2026-06-17T16:45:04.969328+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/toby/serde-bencode","github":"https://github.com/toby/serde-bencode","docs":"https://docs.rs/serde_bencode/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}