Skip to content

[3.0.0 prep] tun_tap replacement - #402

Merged
Wojtek242 merged 1 commit into
rust-pcap:mainfrom
cicku:dev-dep-tun-rs
Aug 31, 2026
Merged

[3.0.0 prep] tun_tap replacement #402
Wojtek242 merged 1 commit into
rust-pcap:mainfrom
cicku:dev-dep-tun-rs

Conversation

@cicku

@cicku cicku commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

tun-tap (maintenance) pulls tokio-core, and with it the whole 0.1 era async stack, to open a file descriptor and read from it. tun-rs does the same job with no runtime and no cc, which also means the tap tests no longer need a C compiler to build.

This also shrinks the lock file.

Must be merged after #400, and a rebase will be done then.

@cicku

cicku commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Ready: This PR only touches a test.

@cicku
cicku marked this pull request as ready for review August 31, 2026 02:33
tun-tap pulls tokio-core, and with it the whole 0.1 era async stack, to
open a file descriptor and read from it. tun-rs does the same job with
no runtime and no cc, which also means the tap tests no longer need a C
compiler to build.
@Wojtek242

Copy link
Copy Markdown
Collaborator

LGTM

@Wojtek242
Wojtek242 merged commit 3b23836 into rust-pcap:main Aug 31, 2026
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants