Mingun

Results 397 comments of Mingun

Having a `deserialize` method for `Reader` that would be able to deserialize piece of XML into a type using serde from current position is definitely a feature I also want...

> By the way, is there any reason why `read_text` is not implemented for `Reader`? It is not trivial to do that, because we cannot just reuse `read_to_end_into` method --...

Yes, this is a bug, we should pop the namespace before the returning from the `read_to_end()` method.

Yes, for the sake of consistency it would be good to accept such XML. The problem only in construction of consistent rules that will not explode when combining. It is...

I think, that what is you need here is a DOM node, that can be used as a type of `body` field. There is a [minidom](https://github.com/digama0/minidom-14) crate, build over quick-xml,...

I would prefer to hide that fact that we store `Cow` internally and make you think that we store an `str`. If you sure that you will able to store...

Note, that all events will borrow when comes from `Reader`. Also, cloning them is cheap -- the underlying `Cow` [stays](https://doc.rust-lang.org/src/alloc/borrow.rs.html#193) in `Borrowed` state, if you clone borrowed `Cow`.

It seems that this bug is happened when `` content contains at least two inner `` elements and `BufReader` buffer too small to hold them both. The minimal reproduction case...

The only possible way is to combine both enumerations to one Rust `enum`. Then you can manually implement `Deserialize` and delegate actual deserialization to the internal type: ```rust enum MyRealEnum...

Thanks for PR! Could you please describe your use-case, why you need quotes other than `"` or `'`? You should run `cargo fmt` and at the same time you could...