Coder Social home page Coder Social logo

Comments (6)

saethlin avatar saethlin commented on September 22, 2024 1

To clarify, I'm going to do the upgrade at least on my own branch of the project. I need these dependencies upgraded so I can link discord-rs in the same binary as slack-rs.

from discord-rs.

saethlin avatar saethlin commented on September 22, 2024 1

This branch of a fork is darned close. I submitted a PR to start working, but the maintainer of the fork seems to think they'll have this done in a few days.
https://github.com/tinaun/discord-rs/tree/async_internals

from discord-rs.

SpaceManiac avatar SpaceManiac commented on September 22, 2024 1

vityafx's fork has been merged

from discord-rs.

saethlin avatar saethlin commented on September 22, 2024

The problem is actually much worse than that; just upgrading to weboscket 0.20 will prevent the project from building because we have both an explicit and transitive dependency on an old version of hyper, which depends on openssl 1.0. And since that's a native library, there can only be one version of it in the project.

To fix this, we'd have to move to the latest versions of websocket, hyper, and multipart. The patch that fixes this will be hundreds of lines. I don't know how to break up the patch, because cargo completely refuses to do anything as soon as it detects a dependency on two versions of openssl.

from discord-rs.

fizyk20 avatar fizyk20 commented on September 22, 2024

Exactly the same as my use case ;) I looked into updating this quickly myself, but this seems to be such a deep problem that I gave up. If you succeed, do ping me, please!

from discord-rs.

humb1t avatar humb1t commented on September 22, 2024

Up to date fork https://github.com/vityafx/discord-rs

from discord-rs.

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.