Replies: 6 comments
-
Ah, yeah, this is a huge headache for me. I would love not to depend on any async runtime (which would be an obvious choice), but there are two things I need: an async files I/O and a Netlink sockets. Both are very important for Linux implementation: sync FS is used under the hood right now (which is kinda okay, since I'm working with I had a discussion at Same goes to async FS, but I hope that this issue will be solved by community, since FS is far more popular thing than Netlink :) So, this is a hard problem and I'm still trying to find the most reasonable solution to it ¯\(ツ)/¯ |
Beta Was this translation helpful? Give feedback.
-
Interesting, thanks for the info. A quick glance at async FS in the rust ecosystem reveals that the main (and only) implementation is |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm the author of https://github.com/little-dude/netlink. I'm wondering what issue exactly you're having with netlink and asynchronousity. These crates have tokio integration, although there are some unresolved issues (like this: little-dude/netlink#39). Fwiw I wouldn't recommend using my crates for now, it's more at the "proof of concept" stage, still. |
Beta Was this translation helpful? Give feedback.
-
Hey, @little-dude! Yes, I saw your crate (tremendous piece of work, I should say), but there are few reasons why I probably will not integrate it:
I had not investigated it fully yet, but I was thinking about some So, as I said already, I'm still not sure what to do exactly with it and would love to hear your thoughts about it. |
Beta Was this translation helpful? Give feedback.
-
I think
Yeah, and that's because a fundamental flaws in my
Ha, I know what you're talking about! |
Beta Was this translation helpful? Give feedback.
-
After working for a bit on my netlink crates here is more info:
(fwiw, if you look at the netlink crates, don't look at doc.rs, I haven't published the updated version there). |
Beta Was this translation helpful? Give feedback.
-
In the readme it states:
And I'm curious for what reason a library would need to depend on an async runtime?
Btw, really appreciate this library and it's looking good so far!
Beta Was this translation helpful? Give feedback.
All reactions