serde-rs.github.io
serde-rs.github.io copied to clipboard
Add dark mode to serde.rs inside `@media (prefers-color-scheme: dark)` query. This should prevent people from getting flashbanged when opening serde.rs in dark-mode
Update struct links in impl-serialize.md to point to new version of the book.
While this doesn't reduce the number of lines of code, it does reduce the cognitive overhead in parts when reading the example.
I expect a lot of users are like me and just assume their code is fast enough. It wasn't until I had to do more explicit benchmarks that I found...
This PR adds documentation for the `variant_identifier` and `field_identifier` attributes on enums. I think this should be alright to make officially part of the public API, since they're [mentioned](https://serde.rs/deserialize-struct.html) in...
This adds an example for a useful pattern where a type needs to be validated arbitrarily (via `TryFrom` on an inner type) during deserialization. This comes directly from https://github.com/serde-rs/serde/issues/642#issuecomment-683276351 where...
It looks like you're using `mdbook` to render the book. `mdbok` has the built-in search bar that looks like this  Could you please add this ability to serde.rs?
I just saw `zellij` changed its config format from `yaml` to `kdl` https://kdl.dev/. There currently are 3 implementations in rusts but 1 that is using serde: https://github.com/Lucretiel/kaydle Apparently the same...
Add docs mentioned in https://github.com/serde-rs/serde/issues/1560 for untagged enums with unit variants always serializing as `null`.