tinaun / discord-rs Goto Github PK
View Code? Open in Web Editor NEWThis project forked from spacemaniac/discord-rs
Rust library for the Discord chat client API
License: MIT License
This project forked from spacemaniac/discord-rs
Rust library for the Discord chat client API
License: MIT License
I get errors when trying to run cargo build --all-features
on 9f9f4a4 (async_internals
branch). Using Rust and cargo version 1.26.0
.
error[E0432]: unresolved import `websocket::client::Client`
--> src/voice.rs:15:25
|
15 | use websocket::client::{Client, Sender};
| ^^^^^^ no `Client` in `client`
error[E0432]: unresolved import `websocket::client::Sender`
--> src/voice.rs:15:33
|
15 | use websocket::client::{Client, Sender};
| ^^^^^^ no `Sender` in `client`
error[E0432]: unresolved import `websocket::stream::WebSocketStream`
--> src/voice.rs:16:5
|
16 | use websocket::stream::WebSocketStream;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WebSocketStream` in `stream`
error[E0432]: unresolved import `SenderExt`
--> src/voice.rs:19:21
|
19 | use {Result, Error, SenderExt, ReceiverExt};
| ^^^^^^^^^ no `SenderExt` in the root
[...]
Some errors occurred: E0412, E0432, E0433
I don't get any Err
from recv_event()
, just... nothing after a while.
The only currently supported version is 6, and it looks like this library still uses version 3 (src/async.rs:76).
https://discordapp.com/developers/docs/topics/gateway
EDIT: I'm stupid. That's the voice version. Should have read the fine print.
I have no idea where this is coming from. There doesn't appear to be any "loop?" in this library...
Note: I'm only working on async_internals, I can't build the master branch.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.