Closed matteyeux closed 2 years ago
It also uses pnet_datalink, but I only update ipnetwork, that why I suspect the issue to be related to this repo
The issue is with the fact that you can't have types from a crate's version work with the same types from another version, even if type's structures are exactly equal. Make sure the versions match and it should all go back to working fine.
Oh that perfectly makes sense, I'll stay on 0.19.0 until ipnetwork version is bumped on libpnet.
thank you @paolobarbolini !
Hi ! Since version 0.20.0 I fail to build my tool because there is a mismatch between IpNetwork types :
Here is the snippet I try to build bellow :
It also uses pnet_datalink, but I only updated ipnetwork, that's why I suspect the issue to be related to this repo (I'm new to Rust so I may be wrong).
Any idea how I can fix this problem ?
Thanks.