Skip to content
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

Wishlist: more visible examples, especially without option tokio #8

Open
ydirson opened this issue Feb 21, 2023 · 0 comments
Open

Wishlist: more visible examples, especially without option tokio #8

ydirson opened this issue Feb 21, 2023 · 0 comments

Comments

@ydirson
Copy link

ydirson commented Feb 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant