Mingun

Results 397 comments of Mingun

> replacing the 1ms timeout with 100ms. Probably the problem is more visible for small timeouts rather than big. Maybe this is even a bug in tokio, because it seems...

Thanks for your research! > The next funtion its calling does not: Yes, this is because this function implemented using a macro which is actually expands into a relatively long...

You can find answer in [this chapter](https://docs.rs/quick-xml/latest/quick_xml/de/index.html#enum-representations) about mapping of Rust types to XML. TL;DR: your enum variant is not a unit variant and it cannot be serialized in arbitrary-named...

It is hard to answer to your questions because you do not provide your expectations. The mentioned piece of documentation shows how quick-xml performs mapping in a consistent manner. If...

You feel free to submit PR that would implement the desired behavior and make it in the consistent way. Probably this is possible. We also should keep the ability to...

Yes, if you look at the code, parsing uses [BufRead::fill_buf](https://doc.rust-lang.org/std/io/trait.BufRead.html#tymethod.fill_buf). Because `quick-xml` returns tokens with contents of tags it should somewhere store content until the full tag will be recognized....

There is no built-in mappings for such transformations. Probably, your way to do that is the right approach. If you post your solution here, maybe we could help you to...

If your XML looks like ```xml ... text ``` then you've get exactly that result which your code does. Just after reading `"\n "` (between `` and ``) you reset...

This sentence refers to the `new` and `html` methods of [`Attributes`](https://docs.rs/quick-xml/latest/quick_xml/events/attributes/struct.Attributes.html#impl-Attributes%3C'a%3E) struct and corresponding [`attributes`](https://docs.rs/quick-xml/latest/quick_xml/events/struct.BytesStart.html#method.attributes) and [`html_attributes`](https://docs.rs/quick-xml/latest/quick_xml/events/struct.BytesStart.html#method.html_attributes) iterators. You choose the mode by using of one of those methods.

Thanks for you work! I squashed all your commits, write tests in my standards (nested modules), add documentation. I realized, that currently, because `BytesStart::push_attribute` is used, an extra space is...