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

Add support for disabling I/O over TUN/TAP support #27

Open
kanpov opened this issue Nov 18, 2024 · 1 comment
Open

Add support for disabling I/O over TUN/TAP support #27

kanpov opened this issue Nov 18, 2024 · 1 comment

Comments

@kanpov
Copy link

kanpov commented Nov 18, 2024

In my case, I only need the builder from tokio-tun to create the TUN/TAP device and don't want any of the I/O over it, but the library currently requires that. By gating this behind a feature or adding a feature to disable it, the tokio net dependency wouldn't need to be pulled in for these cases.

@kanpov
Copy link
Author

kanpov commented Nov 18, 2024

Or, make a base crate like core-tun that would do the TUN/TAP creation and have tokio-tun depend on it with the async I/O added.

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