tokio-tun icon indicating copy to clipboard operation
tokio-tun copied to clipboard

Roadmap of supporting macos and windows

Open zonyitoo opened this issue 3 years ago • 4 comments

Great project!

What's your plan of supporting macos and windows?

zonyitoo avatar Oct 06 '20 18:10 zonyitoo

Thanks. I appreciate it if someone could open pull requests for those operating systems.

yaa110 avatar Oct 06 '20 19:10 yaa110

Maybe we can just import libtuntap

zonyitoo avatar Oct 07 '20 10:10 zonyitoo

It might be better to avoid external library dependencies.

yaa110 avatar Oct 07 '20 13:10 yaa110

It seems that there is no complicated work to be done to make this project compatible with macOS. The APIs are almost the same with Linux.

For Windows, we could use wintun, which already provided similar interfaces as *NIX platforms.

BTW, could you generates FFI definitions prior to release this library? Because bindgen requires uses to install libclang, which is unnecessary.

zonyitoo avatar Dec 29 '20 09:12 zonyitoo