tun2proxy / rust-tun

TUN device creation and handling.
https://docs.rs/tun2/
30 stars 13 forks source link

chore!: refine windows platform configuration #76

Closed cavivie closed 3 weeks ago

cavivie commented 3 weeks ago

Closes 75.

cavivie commented 3 weeks ago

I don't understand why the .dll ext needs to be removed here?

ssrlive commented 3 weeks ago

It can be automatically added by the LoadLibraryExW function.

cavivie commented 3 weeks ago

In this case, I prefer to say wintun_path here is wintun_file to make it clearer that wintun is just a filename or a filename with an extension, because wintun looks too much like a path due to the function name is called wintun_path, which will lead users to use wintun path(directory). What do you think?