Ondřej Hruška
a0ebb46542
add trace to sending requests
3 years ago
Ondřej Hruška
54a0e55964
improvements for fedigroups
3 years ago
Ondřej Hruška
568b1ff07a
convert all to sync, remove now broken doc comments, some renames
3 years ago
Ondřej Hruška
c967e59ffb
all asyncified except for streaming
3 years ago
Ondřej Hruška
b6b7372ebb
removed the trait so it can be easier made async
3 years ago
Ondřej Hruška
ded6d806f9
fix clippy lints
3 years ago
Paul Woolcock
d66c63dd28
Remove `HttpSend` and `HttpSender`
...
this was maybe a good idea, but it isn't really needed
4 years ago
Paul Woolcock
982a8fc776
making clippy happy
4 years ago
Paul Woolcock
0b4ee7bfb2
Various cleanup tasks
...
* Remove old `extern crate` stmts
* Remove rust-skeptic
* Clean up Cargo.toml
4 years ago
Klaus Purer
44da726d08
feat(media): Add support for media alt text
4 years ago
Paul Woolcock
9a080583f0
feature(api): Change `u64` ids to `&str`
...
Breaking change: All the entities with an `id` property have String ids, but all
endpoints that take ids used `u64` ids. This changes that so that all
the methods that take ids, take them as `&str`.
6 years ago
Paul Woolcock
2d8958e0d9
Update code to be compatible with reqwest 0.9
6 years ago
Paul Woolcock
28192e1188
Implement a method for `GET /api/v2/search`
6 years ago
Paul Woolcock
67242c8f4b
Change `search_accounts` to use a macro
6 years ago
Paul Woolcock
34e2c00866
change `POST /search` to `GET /search`
6 years ago
Paul Woolcock
c66c305df5
fix(client): fix broken paged_routes_with_id methods
...
BREAKING CHANGE: technically this breaks the API, but these methods
wouldn't have worked this way anyway, so I don't feel bad about it
Closes #42
6 years ago
Paul Woolcock
2a6e922da7
feat(macros): add compile tests to the doc comments
6 years ago
Paul Woolcock
49a2237803
Introduce HttpSend trait for converting `Request` -> `Response`
...
Parameterize everything that involves sending HTTP requests with the `H:
HttpSend` bound. This will allow us to swap out `HttpSend`
implementations when necessary, in order to better test our code
6 years ago
Paul Woolcock
8636e690c3
rustfmt pass
6 years ago
Paul Woolcock
63d09c1113
Clean up src/lib.rs a bit more
6 years ago