Matthias Beyer
2ac63466d1
Fix clippy: Derive Eq for NewStatus
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:50:12 +01:00
Matthias Beyer
1a8524f4fe
Fix clippy: Derive Eq for StatusBuilder
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:48:52 +01:00
Matthias Beyer
781b8a0b2e
Fix clippy: Derive Eq for Visibility
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 18:48:14 +01:00
Matthias Beyer
fa72eb1bd4
Fix clippy: Remove unnecessary closure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 17:23:22 +01:00
Matthias Beyer
b8a98da958
Add workflow job for running clippy on codebase
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 16:32:04 +01:00
Matthias Beyer
6389141015
Fix: Use $crate instead of crate in macro
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:56:19 +01:00
Matthias Beyer
f280c4b8fa
Fix clippy: Remove unnecessary lifetime specifier
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:55:59 +01:00
Matthias Beyer
1d86f122d3
Allow redundant field names in macros
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:55:36 +01:00
Matthias Beyer
691117e1cb
Fix clippy: Remove uneccessary closure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:52:27 +01:00
Matthias Beyer
b46ec54cc4
Fix clippy: Remove unecessary ? and Ok() wrapping
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:52:06 +01:00
Matthias Beyer
19e4878460
Fix clippy: Replace manual return with ? operator
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:51:30 +01:00
Matthias Beyer
e76fff06d9
Fix clippy: Replace str with char as pattern
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:50:49 +01:00
Matthias Beyer
af63e75e5d
Fix clippy: Remove unneeded reference
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:50:28 +01:00
Matthias Beyer
34932cb295
Fix clippy: Implement From instead of Into
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:49:55 +01:00
Matthias Beyer
607d86219c
Fix clippy: Remove unneeded clone() calls
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:47:42 +01:00
Matthias Beyer
524c246972
Fix clippy: Remove unnecessary reference
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:46:58 +01:00
Matthias Beyer
edad6082a1
Fix clippy: Remove manual copying in iterator
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:46:40 +01:00
Matthias Beyer
e933f1efec
Fix clippy: Explicitely implement PartialOrd
...
This patch fixes `clippy::derive_ord_xor_partial_ord` by implementing
PartialOrd manually instead of deriving it.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:45:44 +01:00
Matthias Beyer
e19070f935
Fix clippy: Remove unneeded clone() call
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:44:07 +01:00
Matthias Beyer
d7453454b3
Fix clippy: Remove unneeded reference
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:43:37 +01:00
Matthias Beyer
6bdc0fea5a
Fix clippy: Remove unneeded return statement
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-27 15:43:08 +01:00
Scott Boggs
40d5277c1c
Merge pull request #10 from ckruse/fix/magic-disabled
...
compilation fails if magic is disabled because `self.magic` is not available
2022-12-27 07:25:11 -05:00
Christian Kruse
e0ba85ea1b
if magic is disabled `self.magic` is not available
...
and thus compilation fails with `if cfg!()` construct
2022-12-27 08:22:10 +01:00
D. Scott Boggs
b571352dca
bump version
2022-12-26 17:48:42 -05:00
Scott Boggs
44d9c7e954
Merge pull request #9 from dscottboggs/fix/tag-response
...
Fix discrepancy in server response formats
2022-12-26 12:29:14 -05:00
D. Scott Boggs
77ccc715c8
Fix discrepancy in server response formats
2022-12-26 12:19:51 -05:00
Scott Boggs
a1e12dcfea
Merge pull request #8 from dscottboggs/fix/media-upload
...
Fix bug in media upload, add optional detectoin of mime-/file-type
2022-12-26 11:35:03 -05:00
D. Scott Boggs
6e5c93d997
Fix bug in media upload, add optional detectoin of mime-/file-type
2022-12-26 11:19:54 -05:00
D. Scott Boggs
88bfa67f5a
bump version
2022-12-25 07:10:03 -05:00
Scott Boggs
acf03f51bd
Merge pull request #5 from dscottboggs/feature/media-with-descriptions
...
Add descriptions to media upload methods
2022-12-25 07:07:56 -05:00
D. Scott Boggs
5d59c5a462
Add descriptions to media upload methods
2022-12-25 07:01:41 -05:00
D. Scott Boggs
c9ea7c9ea9
fix bug in route_v2 macro
2022-12-25 06:48:24 -05:00
D. Scott Boggs
93a4516d60
remove bad file from crates.io source
2022-12-25 06:47:56 -05:00
Scott Boggs
83496259c5
Create FUNDING.yml
2022-12-24 09:25:40 -05:00
Scott Boggs
69108f85d3
Merge pull request #3 from dym-sh/patch-1
...
corrected api-info url
2022-12-24 08:09:24 -05:00
Dym Sohin
20a768bb79
corrected api-info url
2022-12-24 09:01:37 +01:00
Scott Boggs
62dee5295e
Merge pull request #2 from dscottboggs/fix/examples
...
Pre-release tasks
- chang the name of the project from elefren to mastodon-async
- fix and updates some documentation
- fix the examples
2022-12-23 12:28:35 -05:00
D. Scott Boggs
ca7777c2f8
Update version in README
2022-12-23 12:18:03 -05:00
D. Scott Boggs
ed497d96d4
Improve remote error handling
2022-12-23 12:18:03 -05:00
D. Scott Boggs
58ffee1970
update readme
2022-12-23 12:18:03 -05:00
D. Scott Boggs
2ec3bd42ec
Rename elefren to mastodon-async
2022-12-23 12:18:03 -05:00
D. Scott Boggs
ed05a7b337
Update to use search v2; fix search example
...
Search v1 has been removed
2022-12-23 12:18:03 -05:00
D. Scott Boggs
b232db9f97
fix example
2022-12-23 12:18:03 -05:00
D. Scott Boggs
e5fe0b6b59
Add event-logging example
2022-12-23 12:18:03 -05:00
Scott Boggs
6fb63800d7
Merge pull request #1 from dscottboggs/feature/sse
...
Feature: SSE
2022-12-22 12:39:18 -05:00
D. Scott Boggs
59dfc7085b
this file isn't needed anymore
2022-12-22 12:28:18 -05:00
D. Scott Boggs
94b7cd4087
Rearrange macro; fix quoting issue
2022-12-22 12:28:08 -05:00
D. Scott Boggs
ca7f9c86a6
Removed more references to websockets
2022-12-22 12:27:30 -05:00
D. Scott Boggs
0f268f7d6f
update readme badge
...
I just needed to make *some* change to trigger CI
2022-12-22 09:33:51 -05:00
Scott Boggs
65c8689189
Create github actions workflow
2022-12-22 09:25:57 -05:00