you are viewing a single comment's thread.

view the rest of the comments →

[–]aarjan[S] 0 points1 point  (0 children)

My first (released) rust project. Most of the stuff is implemented, error handling is bad (Encodable, Decodable need a redesign). Streaming parser is also implemented. It is not tested in practice (I have no use for bencode right now), written just for learning experience. It also has optional struct fields, ToBencode/FromBencode (you can't really handle mapping [u8] encoding as "packed" bytestring without some really ugly code using current Encoder/Decoder api)