serde-bencode icon indicating copy to clipboard operation
serde-bencode copied to clipboard

feat: set is_human_readable to false

Open absporl opened this issue 5 months ago • 2 comments

This allows implementations of Serialize to change behavior depending on the encoding method used (e.g. encode as base64 for human readable encodings such as JSON, and encode as binary strings for bencode).

absporl avatar Jun 04 '25 13:06 absporl

ACK 77aca3873bf5dda7d5f072acbd210c5c8a77e2bc

josecelano avatar Jun 04 '25 16:06 josecelano

Relates to: https://docs.rs/serde/latest/serde/trait.Serializer.html#method.is_human_readable

josecelano avatar Jun 04 '25 16:06 josecelano