Comments (5)
I think the best bet is to wait for surf to finish supporting hyper, unless you dont mind requiring libcurl for now. http-rs/http-client#1
Hyper on anything but tokio is very complicated currently.
from twilight.
tbh the issues is not really http, but it is more that at the moment when there is not more people working on or in it, there are other parts of the project I think is more important to work on, at some point it is probably good to add the support though, it will just mean that we have to ad one or two features to all the crates. If anyone is up for doing that now, and have a look at it from time to time I will gladly accept prs for it.
About the reqwest usage; yeah I can see a time where we can switch to surf, it should not be a too big of an issue as we have abstracted the raw calls nearly away in most cases so it could be a viable choice when it is a bit more ready and battle tested.
from twilight.
also in similar vain to your comment, async-tungstenite also supports both tokio and async
-std
from twilight.
This issue has been marked as stale because it has been open with no activity for 60 days. It will be closed in 5 days unless a comment triages the issue.
from twilight.
Closing for now because the only other notable runtime is smol (and async-std via smol), which has tokio compatibility. The ecosystem is too fractured still to solve this in a way to make everything runtime-agnostic.
from twilight.
Related Issues (20)
- Support suppressed notification messages
- Document disconnect behavior of Shard::next_event
- Support stage channel message types
- Adapting the `Shard::close` example to `ShardEventStream` HOT 1
- Use cargo-deny in CI
- doc(model): in Event, two elements are inversed HOT 1
- Signature validation utility HOT 7
- Failed event deserialization: image hash isn't in a discord image hash format
- String option trims prefixed zeros of integer input
- Lavalink v4 update will break twilight-lavalink HOT 3
- Better discoverability of the book
- `UpdateFollowup` falsely returns `EmptyBody` HOT 1
- Invalid UpdateRolePositions body
- Expose HeaderMap in addition to HeaderIter for twilight-http responses HOT 9
- Unable to deserialize gateway ready event due to missing fields HOT 15
- [RFC] Flatten `PartialX` Types with `X`
- Support Media Channels
- Deserialization errors for members with joined_at=null HOT 1
- `Message.referenced_message` field doesn't exist or is `null` ambiguous
- Creating a ban does not delete any messages
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 twilight.