-
-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async Io / Tokio Support #436
Comments
Yes, a PR for async is welcomed. Please create it against our latest master branch because 4.0 has a new concept called |
Sorry for the late answer. I am going to work on this as soon as i have time. I am going to comment here again if any questions arise. |
Hello. I am sorry i forgot about this for some while and revisited it last weekend. Maybe someone else has an idea where async is beneficial and they, me or we can take a look at it again. |
You would have to rewrite the parser to work with streams. Maybe using a buffer so it can go back a few bytes or forwards while parsing. I unfortunately don't have much time (and expertise) otherwise I would open a PR :( |
Hi,
I am currently working on an async IoT web app and use this crate. I often have changes in templates / user defined templates
and often have to reload them. Currently, all io, such as reading and writing to disk, can only be implemented blocking from what I have seen.
Is async IO / support for Tokio planned, would you accept a PR for simple async IO if it is behind a feature flag?
Or is there a way to implement async rendering / writing that I am missing?
Thanks in advance and keep up the good work!
The text was updated successfully, but these errors were encountered: