Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/twilight-rs/twilight
Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.
https://github.com/twilight-rs/twilight
Without doing this, we're left with fairly unhelpful messages as to
what we actually need to cha...
Signed-off-by: Valdemar Erk <[email protected]>
83f493eee386203dd2d95d1b09136b9859ab60dc authored almost 5 years ago by Valdemar Erk <[email protected]>Fix some routes giving an error back for no reason
d265a8c6509769f5bffaeb309a6084f91edfe054 authored about 5 years ago by Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
c459ef607dc3b0f070b7e2ce91da3df57e0212f3 authored about 5 years ago by Valdemar Erk <[email protected]>
Discord have some routes that returns a `204 No Content`
when it is correct, as some of them use...
Use the `futures` crate instead of multiple sub crates.
c0ab211e093b001df740b6d3c5486779eb79bc92 authored about 5 years ago by Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
03630ccb805ac3bf55dbaae48ec684830372ec2d authored about 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
dafb4277f796dc3526a7716b9bf302d56b3088f1 authored about 5 years ago by Valdemar Erk <[email protected]>
This change I have made because I think it is easier to control
version and most users will have...
Make the definitions of the embed structures correct
678650fe2d7bf90046a5706c2b02f999f3b3a125 authored about 5 years ago by Erk <[email protected]>
The structures now follow the definitions given on
discordapp.com
Signed-off-by: Valdemar Erk <...
1ebc75fe834e3358f956aad04afc5b04c53dd3e0 authored about 5 years ago by Valdemar Erk <[email protected]>Implement ReactionRemove and ReactionRemoveAll cache updates
df6bcea06b66f17a9a4f31df82fc2b3a8e336e2d authored about 5 years ago by Erk <[email protected]>Two out of the four in #25
Signed-off-by: Iris Faey Hoffmeyer <[email protected]>
e04bdbf02fd28c386d933e4ce0ea31f9f8d174ff authored about 5 years ago by Iris Faey Hoffmeyer <[email protected]>Unicode reactions does not deserialize
662f5a49fd3a12104add3b26a35278f57e7e24c7 authored about 5 years ago by Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
6b040f259eb4585012dc53339c47a2ce7c6f5985 authored about 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
e421f462acb10e1cc5cc05fdb5607d093f458677 authored about 5 years ago by Valdemar Erk <[email protected]>Fix cache update on shard
5257f883d49ec30a2242ec5ad3cc4593ca3a4ee6 authored about 5 years ago by Erk <[email protected]>For some reason my local copy of rustfmt doesn't format the file to this on the nightly build I'...
ffdf5924b066ee38914b4ba74d16cabf7624e513 authored about 5 years ago by Iris Faey Hoffmeyer <[email protected]>
This will make cache require shard to use cache.
Maybe this should be put behind a feature flag?...
There might be a better way to do this, but this one works at least. ;-)
4af697cecd5affbfd98fd32b2b0046314d6ffd05 authored about 5 years ago by Iris Faey Hoffmeyer <[email protected]>Small clippy fixes
c22b08e0bb0258f14166bb642ec2ddd09bfebdbc authored about 5 years ago by Erk <[email protected]>Add new field to Webhook
155f948f1634455df0c47e7c829b39789c29145b authored about 5 years ago by Erk <[email protected]>(chore): run rustfmt
d9cd0ae75ff8e8f2aaeb9e4341fd7e46a69ffc02 authored about 5 years ago by Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
1198611a20f8549eea770bd9c18ea837f086552c authored about 5 years ago by Valdemar Erk <[email protected]>Fix deadlocks in cache
300f7c05db0dd42dc775c8b45c29f0239bce16ef authored about 5 years ago by Erk <[email protected]>Update to tokio 0.2 stable.
22512d921c03dc0286e4ece5cf7023c652c6de36 authored about 5 years ago by Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
06580d24d865e33126ae5d0c8a7311d0b7b08ef7 authored about 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
e8039907a0eaaee203fa38adf9f92f39e61be1b3 authored about 5 years ago by Valdemar Erk <[email protected]>
Deadlocsk would happen because it tried to aquire a lock while the
lock was locked in the scope....
Signed-off-by: Valdemar Erk <[email protected]>
471a25f617cdbf0ebe5265c42a517a6322050b62 authored about 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
b971b096437bb49048f8068446e207272ac409a6 authored about 5 years ago by Valdemar Erk <[email protected]>
This update seems to fix #40, though more
testing is required to make fully sure that
it does. W...
clippy likes them more than non literals
b5610261cde881f70efa26ea64b8e926336f54d3 authored about 5 years ago by Iris Faey Hoffmeyer <[email protected]>clippy doesn't like literal unicode emojis
b853bcae2aaab38f7078a734ae0667603bd39aaa authored about 5 years ago by Iris Faey Hoffmeyer <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
1bb77cf829ebfb0d65ad2a3c1dc4aeef8dc8f395 authored about 5 years ago by Valdemar Erk <[email protected]>7fa093d48a4e2bc7bc4e456c5a7564ec3af1c935 authored about 5 years ago by Tunahan Karlibas <[email protected]>
Signed-off-by: Valdemar Erk <[email protected]>
2cbcb0e55681b88fbfa5e13010416848b9bb7491 authored about 5 years ago by Valdemar Erk <[email protected]>
* Add emoji field to Activity
* Fix test
6d211e52ddf6f84925b342dfec3b9de90fa9b624 authored about 5 years ago by Tunahan Karlibas <[email protected]>
Signed-off-by: Valdemar Erk <[email protected]>
f4dcaaa346d87ec871b68e4902e8fe0b454d9547 authored about 5 years ago by Valdemar Erk <[email protected]>Add message_id to optional audit entry info
28fbc164a2628a6a1834418a5a28b2813f86d015 authored about 5 years ago by Erk <[email protected]>Add new audit log events
b07413df5f5ee7fd9c647f230929715202fff347 authored about 5 years ago by Erk <[email protected]>Fixes #52
f4750cd4197c03b74f49b35d4dc95928842b4431 authored about 5 years ago by Iris Faey Hoffmeyer <[email protected]>Fixes #54
1bed0a6c91773b9c4df72c443e54fdea3fbaca03 authored about 5 years ago by Iris Faey Hoffmeyer <[email protected]>
* Add presence field to GetGuildMembers
* Add presences field to MemberChunk
Update to stable and update actions
This commit updates most of the dependencies to stable ve...
527a3519b4d71686926f7c39d3b97010b5c25b2c authored about 5 years ago by Erk <[email protected]>
Before starting a connection, put in a request to the queue and wait for
it to be realized. Thi...
Whenever a shard starts a connection, first get the connection from the
HTTP API via a `dawn_ht...
On all of the HTTP client's methods, return a finalizer request struct,
rather than returning a...
Add an event variant called `ShardPayload`, which is emitted every time
a payload comes in. It ...
Simplify the types of parameters accepting IDs. This changes all of the
parameters using univer...
Break out each of the Request structs in the `request` module into,
generally, two structs: the...
Add zlib-stream support for the gateway, which will inflate compressed
messages over the gatewa...
Workspaces don't support `--all-features` in commands like `cargo test`,
which is a silent erro...
Rework the `dawn_cache_trait::Cache` and `dawn_cache_trait::CacheUpdate`
traits to allow cache ...
Make `gateway::payload::MemberAdd` a newtype around `guild::Member`,
because the payload includ...
Fix some of the model definitions and fix compilation without the serde
feature.
- in `chann...
a460f55f7cf3bc5428a846f7d227ce670c914d9a authored about 5 years ago by zeyla hellyer <[email protected]>
Remove the 'http' and 'url' dependencies, because reqwest re-exports
both of these crates' type...
Remove snafu as a dependency, opting to instead use `Result::map_err`
and `Option::ok_or` direc...
Remove all of the unwraps, expects, and panics, using non-poisoning
alternatives like `futures:...
If no color is present with the embed, then set a default value of 0.
Signed-off-by: Zeyla Hell...
78775afccb78d5517ecef8e1be57b0323f90aace authored about 5 years ago by Zeyla Hellyer <[email protected]>
Fix the clearing of the listeners map after sending events to listeners.
The vec of listeners to...
When spawning a task to stop the heartbeater when Session drops, only do
it if the executor sign...
Information about the gateway can be read about here:
<https://dawn.valley.cafe/chapter_1_crate...
644d2b62016343f108fad06f8dc2426f0528f6ac authored about 5 years ago by Zeyla Hellyer <[email protected]>Signed-off-by: Zeyla Hellyer <[email protected]>
82e6bf1ff78cb8a9f92d4115c3255e3305394d0e authored about 5 years ago by Zeyla Hellyer <[email protected]>Signed-off-by: Zeyla Hellyer <[email protected]>
72f055b135b80a68c04265986493cfc2faf1b461 authored about 5 years ago by Zeyla Hellyer <[email protected]>Signed-off-by: Zeyla Hellyer <[email protected]>
270546c0f4e1ee5f6dd5962028db52198c5a421a authored about 5 years ago by Zeyla Hellyer <[email protected]>Update the `http` dependencies:
- `reqwest` from git remote to `0.10.0-alpha.1`
- `tokio-0.2.0 ...
To prevent relying on a serialization format, use 'serde_value', which
is agnostic over formats....
Add a `From<Into<Config>> for Parser` implementation, and loosen the
`Parser::new` method to acc...
Signed-off-by: Zeyla Hellyer <[email protected]>
9833145d3b4cbdb8afc72cffc148b4cd7647da4e authored about 5 years ago by Zeyla Hellyer <[email protected]>
Remove the optional dependency on `dawn-model`. This means getting rid
of:
- `parse` which took...
07648c3361c42bcffc8088e514fc8f75e95c68a9 authored about 5 years ago by Zeyla Hellyer <[email protected]>Signed-off-by: Zeyla Hellyer <[email protected]>
1dba6ec2a34f2276f4c807c55aa1afb1f56c7bb2 authored about 5 years ago by Zeyla Hellyer <[email protected]>Add the `Watching` variant to `gateway::presence::ActivityType`.
Signed-off-by: Zeyla Hellyer <...
914148392401c4b8653b015ae856cb1b14ea3d74 authored about 5 years ago by Zeyla Hellyer <[email protected]>
Simplify the `Identify` structs by removing some unnecessary stuff.
Additionally, add the `Ident...
The guild IDs on guild channels and members are optional.
Signed-off-by: Zeyla Hellyer <zeyla@h...
d942b8b855a0c13652e598dbbf8c851dac895055 authored about 5 years ago by Zeyla Hellyer <[email protected]>Signed-off-by: Zeyla Hellyer <[email protected]>
806a2502d1f5330d8bbf3ead5260bf93f87cbaa5 authored about 5 years ago by Zeyla Hellyer <[email protected]>Fix deserializing some types:
- Add `Guild::lazy` and fix parsing of
`Guild::premium_subscrip...
Implement `std::ops::{Deref, DerefMut}` for all of the newtypes in the
`gateway::payload` module...
Use `actions-rs/grcov` for grcov code coverage support.
Signed-off-by: Zeyla Hellyer <zeyla@hel...
abdba860ac6c166c6689802a37c3fe7b8648fbbb authored about 5 years ago by Zeyla Hellyer <[email protected]>
Lint on PRs and pushes with actions-rs/clippy-check to catch some bad
code conventions.
clippy-...
ade0067c2fe32aa5da6c0659a15a98ed460df26c authored about 5 years ago by Zeyla Hellyer <[email protected]>Add the initial in-memory implementation of the Cache.
The Cache in the core crates is split in...
c660a21c8cbbbc42693aee4e94a7b56be3f586dd authored about 5 years ago by Zeyla Hellyer <[email protected]>Signed-off-by: Zeyla Hellyer <[email protected]>
ea220cab7b9d1e70cf2675d8e4427cb65e62dc5e authored about 5 years ago by Zeyla Hellyer <[email protected]>Derive `Ord` on the `id` types.
Signed-off-by: Zeyla Hellyer <[email protected]>
671ab1c0ae21e8166d9325f490419a7e08dee78f authored about 5 years ago by Zeyla Hellyer <[email protected]>
For the `guild::GuildStatus` enum, rename the `OnlineGuild` variant to
simply `Online`.
Signed-...
30c699685b9f1d65d22e830707ad196772703580 authored about 5 years ago by Zeyla Hellyer <[email protected]>Signed-off-by: Zeyla Hellyer <[email protected]>
9e909d295d86db73d1613fd5a5b3e3f861dc3871 authored about 5 years ago by Zeyla Hellyer <[email protected]>
We don't need the features of the model crate (serde support), so turn
off all of the default fe...
Depend on `dawn-model`, but don't require its features. We don't serde
support for this crate. T...
Reduce the Rust requirement from nightly to Beta (1.39+).
This updates the wording in READMEs t...
7ed152367aebcd21f102ffc4d15455ce7a3853a4 authored about 5 years ago by Zeyla Hellyer <[email protected]>
Adds a workflow for running `cargo-audit` on PRs,
pushes, and on a daily schedule.
Signed-of...
bd2f5af1b0c033868e6d296afa45d28cc0a7f3af authored about 5 years ago by Erk <[email protected]>
Make the serde dependencies optional, allowing users to switch between
enabling and disabling th...
Signed-off-by: Zeyla Hellyer <[email protected]>
fcb93781467b3ed2572cd94bc534f56aeb016d78 authored about 5 years ago by Zeyla Hellyer <[email protected]>
Remove chrono, which was being used as a feature to deserialize some
datetimes into chrono types...
This field is removed cf.
<https://github.com/discordapp/discord-api-docs/commit/70390b75377098...
Signed-off-by: Zeyla Hellyer <[email protected]>
451e30c49ab0ee9bafc8821699bd1d0e07ff0029 authored about 5 years ago by Zeyla Hellyer <[email protected]>Signed-off-by: Zeyla Hellyer <[email protected]>
ddfe693cb112ed8ceebb83af17ae02067bc6ab17 authored about 5 years ago by Zeyla Hellyer <[email protected]>
Reqwest is currently in the middle of upgrading dependencies and
toggling some features we need ...
Support skipping the ratelimiter, such as when using an external proxy.
This will essentially "t...
Signed-off-by: Zeyla Hellyer <[email protected]>
dd707d52ca21e139249413976b702fe886eef9df authored about 5 years ago by Zeyla Hellyer <[email protected]>
Remove the 3 pending future structs, opting instead to just use
async/await and return `impl Fut...