D. Scott Boggs
1884ea272c
Pass client instance to the event stream
2023-02-13 12:22:46 -05:00
D. Scott Boggs
d6f9617207
Use macro to define ID types
2023-01-29 09:11:44 -05:00
D. Scott Boggs
0cfe4d7db8
Update upload_photo example to wait for processing
2023-01-29 06:13:53 -05:00
D. Scott Boggs
e662eac46a
Fix routes which take an Id type; fix doctests
2023-01-24 15:33:49 -05:00
D. Scott Boggs
f830671ee9
Make tokio's rt-multi-thread enabled again in examples
2023-01-01 11:22:43 -05:00
Matthias Beyer
c689b8390c
Run cargo-fmt on whole codebase
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-29 07:14:00 -05:00
D. Scott Boggs
5c764185bb
Rewrite awkward code
2022-12-28 15:35:39 -05:00
D. Scott Boggs
77ccc715c8
Fix discrepancy in server response formats
2022-12-26 12:19:51 -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
ed497d96d4
Improve remote error handling
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
D. Scott Boggs
e69d92f71e
Update client to work asynchronously
...
- Use reqwest's async client
- Convert items_iter() to a futures::Stream
- make Mastodon client an Arc smart pointer, removing the need for OwnedPage.
- remove MastodonClient and HttpSender traits; these can be re-added once async trait fns are stabilized
- make EventStream a futures::Stream
2022-12-05 10:35:29 -05:00
D. Scott Boggs
f054c7d805
Update Rust Edition; Update dependencies
...
Async needs added
2022-11-29 18:50:29 -05:00
D. Scott Boggs
96b16c62d9
initial state; elefren 0.22.0
2022-11-27 09:44:43 -05:00