Git Product home page Git Product logo

Comments (12)

garin1000 avatar garin1000 commented on July 17, 2024 1

Hi @lemunozm,

I just wanted to ask when you could release a message-io version with the updated dependency :-)

All that's really needed is changing the Cargo.toml to use mio 0.8, which I did locally. All message-io tests run fine, so does my application.

Thanks!

from message-io.

garin1000 avatar garin1000 commented on July 17, 2024 1

Thank you!! That was quick!

from message-io.

lemunozm avatar lemunozm commented on July 17, 2024

Hi! I'm not able to check the error because I'm not in windows, and ntapi is only compiled there. I do not use this dependency directly in message-io, so it seems that there is any other dependency that includes that. I've updated all dependencies in this branch: dependencies-updated.

Could you please check if importing the updated version into your project still generates the issue?
To address to this specific change in Cargo.toml:

message-io = { git = "https://github.com/lemunozm/message-io", branch = "dependencies-updated" }

Thanks!!

from message-io.

lexika979 avatar lexika979 commented on July 17, 2024

Unfortunately that didnt fix it :(
I cant seem to track down the dependency in message-io that causes this, because of the limited output i am getting from cargo.
Perhaps we could use a [patch] like in message-io to get rid of this like cargo suggested? That would (rather forcefully) get rid of the outdated dependency.

from message-io.

lexika979 avatar lexika979 commented on July 17, 2024

If thats a valid option i'd make a PR :)

from message-io.

lemunozm avatar lemunozm commented on July 17, 2024

To be honest I've never dealt with this problem, but if that patch works, I'm fine with the PR 😃

from message-io.

lexika979 avatar lexika979 commented on July 17, 2024

After trying to fix this i just noticed that i cannot [patch] the version of a dependency's dependency :(
The only way to fix this is to actually track down what dependency includes ntapi and then file a PR/Issue there

from message-io.

lexika979 avatar lexika979 commented on July 17, 2024

I will try to track down the dependency if i have some free time, but at the moment i have lots of work to do so no idea when i will get around to doing it - I'll keep you updated

from message-io.

lemunozm avatar lemunozm commented on July 17, 2024

Thanks for the info 😃. One question, a cargo tree in Windows does not show the ntapi dependency somewhere?

from message-io.

sigmaSd avatar sigmaSd commented on July 17, 2024

You can use cargo tree --target x86_64-pc-windows-gnu on linux, the dep is coming from mio
image

Mio already have replaced those deps with windows-sys in latest version tokio-rs/mio#1556

from message-io.

lemunozm avatar lemunozm commented on July 17, 2024

Thanks, @sigmaSd, for the advice!
Seems like it's time to update mio to version 0.8. I'll try to get some time to do it.

from message-io.

lemunozm avatar lemunozm commented on July 17, 2024

Done! Published version 0.14.7 with mio version 0.8

from message-io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.