Comments (6)
@dilawar socket2
v0.4.5 has been yanked.
from dns-lookup.
Came here to report exactly the same issue. Looks like socket2
is not playing well with https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/Networking/WinSock/struct.SOCKADDR.html# (or vice-versa).
@bachue Please let me know if you find a way around it e.g. pinning versions.
from dns-lookup.
Thanks for the bug report.
I might keep this issue open for now until socket2 have decided what they want to do, this crate may need changes if they release a new version. I'll also consider if I should switch to windows_sys myself (though it still appears to be quite new, and a fast moving target).
from dns-lookup.
I'll also consider if I should switch to windows_sys myself (though it still appears to be quite new, and a fast moving target).
I am porting this to windows_sys
on our fork. I am new to Rust though but I'll link my work here anyway. It may be helpful 🤞🏼. One super annoying change in windows-sys
crate is u8
and i8
are mixed and I am scared of std::mem::transmute
.
winapi
is not actively maintained so probably it is not a bad idea porting to windows_sys
.
from dns-lookup.
I've merged a version with the migration to windows-sys, along with a few fixups to work with the latest socket2. The windows github actions are passing, but I'd appreciate if someone could test this with a real windows application. Once I get confirmation I'll push version 2.0.0.
from dns-lookup.
I've done some testing on Windows and it all looks good, so I've pushed version 2.0.0 with the windows-sys changes.
from dns-lookup.
Related Issues (19)
- Add/Verify Windows/OSX support HOT 11
- please make LookupErrorKind public HOT 4
- 1.0.2 broke freebsd HOT 8
- Remove dependency on libresolv for MacOS and IOS HOT 3
- Update to 1.0.4 fails with ' error: expected an item keyword' HOT 3
- Expand API HOT 2
- Type safety, family HOT 2
- Specific dns server and retrieve an array of buffer
- Clarifications about `lookup_addr()` HOT 1
- Arm compatibility issues HOT 4
- Alpine issues with dns-lookup 2 HOT 5
- Implement `FusedIterator` for `AddrInfoIter`. HOT 3
- `failed to lookup address information: nodename nor servname provided, or not known` HOT 2
- Why is the IP address obtained not a private address? HOT 1
- host.docker.internal
- push 0.2.1 to github please HOT 2
- NXDOMAIN vs SERVFAIL HOT 3
- Add gethostname()? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dns-lookup.