Pnet is tricky to get to compile on Windows, and replacement alternatives are not really hard to find. I chose get_if_addrs because it looks like "do one thing and do it well" to me and is cross-platform (the only other cross-platform one is pnet itself).
If this turns out to not work in the future, the only alternative I see is to use the nix crate on Linux and ipconfig on Windows.
Pnet is tricky to get to compile on Windows, and replacement alternatives are not really hard to find. I chose
get_if_addrs
because it looks like "do one thing and do it well" to me and is cross-platform (the only other cross-platform one ispnet
itself).If this turns out to not work in the future, the only alternative I see is to use the
nix
crate on Linux andipconfig
on Windows.Closes #115.