Closed casey closed 3 years ago
I'm not sure if this repo is being watched, so ping @dtolnay
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.
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.
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.
@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
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.