serde-rs / serde-rs.github.io

https://serde.rs
Creative Commons Attribution Share Alike 4.0 International
22 stars 96 forks source link

Mention bencode format support in readme #111

Closed casey closed 3 years ago

casey commented 4 years ago

Bendy, a bencode encoder and decoder, recently added feature-complete serde support, so I thought it would be good to mention it in the supported formats list.

casey commented 4 years ago

I'm not sure if this repo is being watched, so ping @dtolnay

casey commented 4 years ago

I landed https://github.com/P3KI/bendy/pull/42, which adds serde docs to both the readme, and enables serde on the docs.rs build, which will eventually make the serde module and associated docs start building, but it will probably be a little while before a new release is cut and the new docs.rs docs go live.

dtolnay commented 4 years ago

Thanks for following up.

It looks like there is supposed to be example code in https://docs.rs/bendy/0.3.2/bendy/serde/index.html#example-representations but it's cut off.

casey commented 4 years ago

Ah, thanks for checking that! I opened a PR to fix it, I'll ping this issue again when there's a release that includes the example code.

casey commented 3 years ago

@dtolnay This should be ready to go, a new version of bendy has been released with updated documentation that shows how to use the Serde integration, along with how Serde values are represented in bencode:

https://docs.rs/bendy/0.3.3/bendy/serde/index.html#example-representations