Commit Graph

1337 Commits

Author SHA1 Message Date
bitfl0wer aa657d12fc Ensure rt and rt_multi_thread aren't both enabled 2023-11-13 15:26:46 +01:00
bitfl0wer 7f3bb944b7 make SentryConfiguration wasm-compatible
- Moved `hostname` lib behind conditional compiling
- provided alternative implementation of hostname::get for wasm-targets
2023-11-13 15:18:22 +01:00
bitfl0wer af0178e15a compile-lock most wasm32 incompatibilities 2023-11-13 13:55:55 +01:00
bitfl0wer cc80bb50be Format changes 2023-11-13 12:57:17 +01:00
bitfl0wer 110ce51c05 + ws_stream_wasm, - dev-dependency on tokio/full 2023-11-13 12:43:00 +01:00
bitfl0wer 6af267c7cf HOTFIX: remove openssl, like it was intended 2023-11-12 18:04:47 +01:00
bitfl0wer c3d6937171 Remove openssl-dependency fully 2023-11-12 18:04:15 +01:00
Flori f9065d4c99 OpenSSL -> rustls, actions version bumps (#433) 2023-11-12 17:43:51 +01:00
bitfl0wer 279ac9d8ca Bump version for chorus 2023-11-12 17:41:59 +01:00
Flori e1d82f0632 bump actions version (#432)
- bump checkout to @v4
- bump rust-toolchain to @v1
2023-11-12 17:39:55 +01:00
bitfl0wer 2edab4cc99 include "dev" branch in actions executions 2023-11-12 17:32:57 +01:00
Flori 5c6d14fc48 Remove openssl, use rustls and rand instead (#431)
This PR removes the dependency on `openssl`, which is not compatible
with the `wasm32-unknown-unknown` target, completely. It is replaced by
`rustls` for TLS/SSL and `rand` for cryptographically safe pseudo-RNG.
2023-11-12 17:31:31 +01:00
bitfl0wer fac543bf5a bump actions version
- bump checkout to @v4
- bump rust-toolchain to @v1
2023-11-12 17:30:49 +01:00
bitfl0wer 2f559b1397 Remove openssl, use rustls and rand instead 2023-11-12 17:20:32 +01:00
Quaternion 904d54edbe Feature lock UpdateMessage implementations 2023-09-22 20:45:19 -04:00
Quaternion c492875838 Make new enums derive sqlx::Type 2023-09-22 20:44:56 -04:00
Quaternion 8d8b7c0b12 Update GuildDefaults to use new enums 2023-09-22 20:44:25 -04:00
Flori 5f63f3cf36 Merge Dev changes into main (#428)
The changes in this branch include a ton of QoL improvements I have
discovered while working on the Client, using Chorus.
2023-09-10 11:46:14 +02:00
bitfl0wer c4b0891ec8 Make events module pub 2023-09-06 01:32:38 +02:00
bitfl0wer 33b99534ca Make WebsocketEvent send, Sznc, Debug 2023-09-05 22:29:04 +02:00
bitfl0wer 3e86460271 Implement UpdateMessage for GuildCreate 2023-09-05 14:41:02 +02:00
bitfl0wer c037c7907b Implement UpdateMessage for GuildDelete 2023-09-05 13:35:01 +02:00
bitfl0wer 59ab862b17 Simplify this loop 2023-09-05 13:34:22 +02:00
bitfl0wer 242021a50a Make the fields on this type public 2023-09-05 13:33:50 +02:00
bitfl0wer 7938f0295e Add source url field trait 2023-09-03 21:00:48 +02:00
bitfl0wer 13397eb68b Merge branch 'main' into dev 2023-09-03 20:23:03 +02:00
Flori 10b623dbf6 Update build_and_test.yml 2023-09-03 20:00:45 +02:00
Flori c822dc84bb Update rust-clippy.yml 2023-09-03 20:00:23 +02:00
bitfl0wer 78b21e9df3 Derive Default for Instance 2023-09-03 19:59:03 +02:00
bitfl0wer e6300b3e30 Impl PartialEq, Eq for Guild 2023-09-03 18:29:33 +02:00
bitfl0wer 1340a11a65 impl Hash for Guild 2023-09-03 17:09:44 +02:00
bitfl0wer b7ae75f7ce Add semicolon 2023-09-03 16:55:34 +02:00
bitfl0wer db533f9700 Make Errors Hash and Eq, bump version 2023-09-03 16:55:19 +02:00
kozabrada123 bc5e64b79d Add option to login with only a token (#427)
* Add login with token
2023-09-01 17:17:49 +02:00
bitfl0wer 47ba03102c Bugfix time 2023-09-01 15:02:57 +02:00
bitfl0wer c6fa385e28 Fix auth 2023-09-01 15:02:44 +02:00
bitfl0wer 635361a417 Bump version 2023-09-01 13:02:11 +02:00
bitfl0wer e17fcd9e0f Make login only take owned values 2023-09-01 13:01:50 +02:00
bitfl0wer a8bcb58493 Make auth functions take owned values, similar to the rest of the API 2023-09-01 12:12:07 +02:00
bitfl0wer 6e136fba83 Make ChorusError Clone 2023-09-01 01:17:23 +02:00
bitfl0wer 42f2f7bfbe Add Default to LoginSchema 2023-09-01 00:50:19 +02:00
bitfl0wer 9b0567ac9e Remove borrow 2023-09-01 00:50:07 +02:00
bitfl0wer a46ffc965c Bump dependencies 2023-09-01 00:49:59 +02:00
bitfl0wer c9c222664d Bump version 2023-09-01 00:49:42 +02:00
bitfl0wer fe8baeb699 Make UrlBundle `Hash` 2023-08-30 19:13:46 +02:00
fowb b949477b24 Bump Version 2023-08-30 15:29:14 +02:00
kozabrada123 0dfd622661 Fix failing build w/o client and move ratelimits (#426)
* Fix failing build without client feature

* Feature lock Updateable and Composite
2023-08-30 15:26:19 +02:00
kozabrada123 141dc32819 Error observer (also merge perpetual/gateway-dev) (#425)
* Add Webrtc Identify & Ready

* Test error observer

* Minor updates

* More derives

* Even more derives

* Small types update

* e
2023-08-29 16:38:26 +00:00
bitfl0wer 8c45355620 Bump version 2023-08-29 14:45:10 +02:00
Flori a36745c908 Make GatewayHandle Clone and remove Arc (#424)
As `GatewayHandle` in itself is just a bundle of refrences, this pr
makes it clonable and removes the `Arc` from `ChorusUser`.
2023-08-29 14:44:11 +02:00