You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tokio is mentioned as being optional, and it would be useful for newcomers to get an idea how rust-netlink can be used without it.
I'm reporting this in netlink-proto since it is the one showing example code on docs.rs. It would be really useful to have links to example code more visible, directly on https://github.com/rust-netlink/ which gives a good idea of what's in this project, but not really of where to start (which package doc to look at first, where to find examples to get you started).
Note I did find the async_std example. It does however suffer from the same problem described in #7. Providing ready-to-go Cargo.toml files for all examples would make it really easier for users to try them, and would make it possible to check in CI jobs that they are still up-to-date with current code.
Also maybe a non-async example (e.g. with use polling) can be useful (or an explicit mention that only async style is supported), as not everyone has jumped aboard the async train yet.
The text was updated successfully, but these errors were encountered:
Async communication for linux kernel: rtnetlink, ethtool, wl-nl80211, etc
For non-async/blocking way, we do not have top level wrappin. Please give tokio a try, if your use case require minimum dependency, you need to code your own socket communication and use above packet parsing and emitting crates.
tokio
is mentioned as being optional, and it would be useful for newcomers to get an idea howrust-netlink
can be used without it.I'm reporting this in
netlink-proto
since it is the one showing example code on docs.rs. It would be really useful to have links to example code more visible, directly on https://github.com/rust-netlink/ which gives a good idea of what's in this project, but not really of where to start (which package doc to look at first, where to find examples to get you started).Note I did find the async_std example. It does however suffer from the same problem described in #7. Providing ready-to-go
Cargo.toml
files for all examples would make it really easier for users to try them, and would make it possible to check in CI jobs that they are still up-to-date with current code.Also maybe a non-async example (e.g. with
use polling
) can be useful (or an explicit mention that only async style is supported), as not everyone has jumped aboard the async train yet.The text was updated successfully, but these errors were encountered: