Crate bendy

Crate bendy 

Source
Expand description

Encodes and decodes bencoded structures.

The decoder is explicitly designed to be zero-copy as much as possible, and to not accept any sort of invalid encoding in any mode (including non-canonical encodings)

The encoder is likewise designed to ensure that it only produces valid structures.

Modulesยง

decoding
Decodes a bencoded struct
encoding
An encoder for bencode. Guarantees that the output string is valid bencode
inspect
Reflection for testing
serde
Serde Serialization and Deserialization
state_tracker
State tracking for decoding and encoding
value
Values hold arbitrary borrowed or owneed bencode data. Unlike Objects, they can be cloned and traversed multiple times.