bitfl0wer
970f5b8b4f
Remove PartialOrd from Emoji because unneccessary
2024-01-23 23:53:08 +01:00
bitfl0wer
a2b6d4e407
Remove old/redundant code from attachment.rs
2024-01-23 23:11:37 +01:00
bitfl0wer
00c70501c4
Rename to_public_user into into_public_user
2024-01-23 23:06:14 +01:00
bitfl0wer
7434690027
Remove Eq fromn Guild as it is not Eq
2024-01-23 21:05:01 +01:00
bitfl0wer
11df180446
APPEND: Remove unused imports
2024-01-23 19:08:35 +01:00
bitfl0wer
0923de59a4
Replace usage of Arc<RwLock<...>> in public APIs with Shared<...>
2024-01-23 19:07:23 +01:00
bitfl0wer
8846159ffd
Remove impl Eq from types that didn't qualify for Eq
2024-01-23 18:43:06 +01:00
bitfl0wer
c6e7724650
rustfmt
2024-01-22 20:57:17 +01:00
bitfl0wer
74fc954d1a
Fix broken behaviour for ConfigEntity
2024-01-22 20:57:08 +01:00
Flori
fe8106d2a1
"Self updating structs" API improvements ( #467 )
...
This PR slightly improves the ergonomics of working with self-updating
structs, by making the changes as documented in #466 .
2024-01-22 15:19:24 +01:00
bitfl0wer
21699e5899
Loosen bounds on IntoShared<T>
2024-01-22 15:00:46 +01:00
bitfl0wer
5372d2c475
Make IntoShared trait with blanket implementation
2024-01-22 14:56:23 +01:00
bitfl0wer
29f3ee802a
Fix errors by moving into_shared out of Composite
2024-01-22 14:50:33 +01:00
bitfl0wer
a571a9e137
Write documentation for observe
2024-01-21 20:13:00 +01:00
bitfl0wer
57214fd2fe
Add documentation for into_shared
2024-01-21 17:15:11 +01:00
bitfl0wer
ca58767372
Rename to_shared to into_shared
2024-01-21 17:10:24 +01:00
bitfl0wer
2a7cae30b8
Define public method `to_shared` for dyn Composite
2024-01-21 17:07:54 +01:00
bitfl0wer
0660e25bdb
rustfmt
2024-01-21 17:07:30 +01:00
bitfl0wer
36ac6c1e5e
Replace use of Arc<RwLock<T>> with Shared<T>
2024-01-21 17:07:19 +01:00
bitfl0wer
315fe8e33b
Define type alias `Shared`
2024-01-21 17:06:43 +01:00
kozabrada123
8e25f401a5
Minor instance updates ( #465 )
...
make Instance::from_url_bundle pub, update Instance docs
2024-01-20 13:15:13 +01:00
Flori
dcc626ef10
Version 0.14.0 ( #463 )
...
## Fixes
- Fix gateway heartbeat on WASM: #460
## Changes
- Update `GuildDefaults` to use new enums
- Make new enums derive `sqlx::Type`
- Feature lock UpdateMessage implementations
## Package changes
- Bump package version, especially reqwest from 0.11.22->0.11.23 -
removes need for custom git branch in Cargo.toml
2024-01-19 21:50:26 +01:00
kozabrada123
8a2bc8287e
Revert "Mess w/ the tests to see if it really works"
...
This reverts commit 8243f103f9
.
2024-01-19 16:05:34 +01:00
kozabrada123
8243f103f9
Mess w/ the tests to see if it really works
2024-01-19 15:53:24 +01:00
kozabrada123
34cc344c8d
feat: switch safina_timer for tokio, fix sleep duration overflow in examples
2024-01-19 15:48:59 +01:00
kozabrada123
e2b69487aa
fix error
2024-01-19 15:06:27 +01:00
kozabrada123
d37415fc13
feat: fix heartbeat time on WASM
2024-01-19 14:55:23 +01:00
bitfl0wer
b87af21c31
Revert last commit
2023-12-17 22:16:53 +01:00
bitfl0wer
e0492bb2f6
Add MANAGE_ENCRYPTION permission
2023-12-17 20:47:52 +01:00
Flori
abd25b2040
merge backend branch into dev ( #454 )
2023-12-15 00:22:46 +01:00
bitfl0wer
fd3aad03e3
Refactor instance creation
2023-12-15 00:10:33 +01:00
bitfl0wer
ce6f09b657
Update documentation and examples
2023-12-10 18:40:03 +01:00
bitfl0wer
565670c5b7
Remove limited argument from Instance
2023-12-03 21:44:08 +01:00
bitfl0wer
dc1991a9cc
Make get_limits_config part of public api
2023-12-03 21:42:41 +01:00
bitfl0wer
4ad1201032
Rename from_root_domain to from_root_url
2023-12-03 13:39:23 +01:00
bitfl0wer
7c5d7f731c
Add Instance::from_root_domain(), change documentation wording
2023-12-03 13:37:32 +01:00
bitfl0wer
d28ccf209a
check for dbg! println! eprintln! in production code
2023-12-03 13:28:50 +01:00
bitfl0wer
dc263dbd5a
impl from_api_url
2023-12-03 13:16:34 +01:00
bitfl0wer
0e1f52edba
add warning lint for usage of todo!()
2023-12-03 13:13:57 +01:00
bitfl0wer
5792c61d09
move WellKnownResponse to src/types/
2023-12-03 13:04:17 +01:00
bitfl0wer
8224acf897
Create domains_config, create Domains struct
2023-12-03 13:04:02 +01:00
bitfl0wer
b6324173b5
clean up imports
2023-12-03 12:51:34 +01:00
bitfl0wer
a27a3626f4
impl from_root_domain for UrlBundle
2023-12-03 12:49:22 +01:00
bitfl0wer
4aa45b3841
impl From reqwest::Error for ChorusError
2023-12-03 12:49:07 +01:00
bitfl0wer
367c0a8ca5
impl PartialEq for ChorusUser
2023-12-02 20:30:04 +01:00
bitfl0wer
734cbf8d30
Mark code blocks as no-run
2023-12-02 17:44:24 +01:00
bitfl0wer
2a40f804c1
fix import order
2023-12-02 17:36:36 +01:00
bitfl0wer
28637ef731
Add Default, Hash, etc. where needed
2023-12-02 17:35:47 +01:00
bitfl0wer
c9501e6fad
Add README information into lib.rs
2023-11-24 22:21:57 +01:00
bitfl0wer
7954e38643
Change: register/login no longer require ownership
...
Register/login used to require ownership of `instance`. This wasn't really necessary and has been changed.
2023-11-22 18:48:37 +01:00