Comments (6)
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.
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.
vityafx's fork has been merged
from discord-rs.
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.
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.
Up to date fork https://github.com/vityafx/discord-rs
from discord-rs.
Related Issues (20)
- Update dependencies HOT 1
- Serialize UserId and ChannelId HOT 2
- Sharded connections fix HOT 1
- A few deserialization issues HOT 1
- Dj bot: Json error HOT 3
- Cannot connect because of invalid ChannelType HOT 3
- discord invite in readme is expaired
- Multiple packages linking to OpenSSL HOT 2
- how to instantiate LiveServer struct HOT 1
- README Discord invite link is invalid. HOT 1
- cargo.toml doesn't fetch v0.9
- Unable use send_file, "Invalid scheme for Http" HOT 1
- Got Err Decode("Expected string", Null) when trying to call connect()
- Get voice of single players and connect multiple time HOT 3
- there is a token altough it throws 'Expected token: NotPresent' error. HOT 2
- Can't connect because of missing key "guild_positions" HOT 1
- message.content in Event::MessageCreate is always an empty string HOT 1
- Rust websocket https://github.com/ArtemGr/rust-websocket not available HOT 1
- Out-Of-Date & Deprecated Dependencies HOT 6
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 discord-rs.