serde_bencoded
pub fn to_vec<T: Serialize>(value: &T) -> Result<Vec<u8>>
Convenient function to get encoded value as bytes