Closed mlemesle closed 1 year ago
Hello !
I've been working on these issues. This is still work in progress, but you can see where the developments are going. Is that what you had in mind ?
Can you please have a look and tell me if I can continue on this path or if those changes are going the wrong way ?
Thanks :)
Hi @mlemesle
thanks for working on this. it seems promising. Just a quick question by switching to async i see that basically we have or will remove the async-std
version right?
Hey @wolf4ood , thanks for replying !
What I had in mind is to be runtime agnostic. I thought that's what you had in mind as well when you mentioned async and sync features.
Unfortunately, I think this would require a major refactor of the whole connection and client parts.
What do you think?
@mlemesle
the idea was to have to set of feature
-async -sync
with async by default
For the async it would be cool to have runtime agnostic but it's not easy and sometimes requires additional libraries.
We have a couple of options
Option 1
async
as base feature like now and activate tokio or async-td
Option2
async
as the only async feature and we will drop async-std
The second one probably it''s more drastic but it will simplify a lot everything. And probably it will also work with async-std but we have to check that
I'll see what I can do. Maybe I'll need to ask some questions later, but for now I need to process those informations.
Thanks for your help!
Closed in favor of #187
Closes #176 and #180