Juniper Tyree

Results 292 comments of Juniper Tyree

This is the first proof-of-concept. Notably, I've also ported `serde`'s [`Unexpected`](https://docs.rs/serde/latest/serde/de/enum.Unexpected.html) enum, which I'm not quite sure about. It does give us slightly nicer error messages and would allow users...

What I haven't touched yet is the area of adding more contextual information to those new errors. Something we might be able to do is to decorate the `deserialize_enum` and...

I've tried to do the struct/enum/variant name extraction for even better error messages. Just extracting struct/enum names is easy, and we can store them as `&'static str`. For variant names,...

@torkleyy @d86leader What are your thoughts?

@torkleyy I've opted to simplify the error enum a bit by merging `serde`'s `invalid_type` and `invalid_value` into the same `InvalidValueForType` type in `ron`. Furthermore, this error now contains the stringified...

CI is blocked on https://github.com/serde-rs/serde/issues/2255

> Since we're doing a API-breaking release, I think we should use the opportunity to bump MSRV and get rid of the CI problem at the same time :) @torkleyy...

@torkleyy This PR is now ready to be merged if you're happy with the changes :)

That is correct - and it seems we might be missing even more `ws` there.

There is `ron::ser::to_string_pretty` If you were looking for that :)