Ondřej Hruška
bc70389346
add new rustfmt.toml and reformat code
3 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
Ondřej Hruška
3d0ecb9e41
Add content_type support to StatusBuilder
4 years ago
Paul Woolcock
174a17109b
Changes the StatusBuilder to be an...actual...builder
...
This will enforce the invariant that statuses have to have either status
text or a media_id
5 years ago
Paul Woolcock
dd72034849
use string for status id in StatusBuilder
5 years ago
Ricardo Martins
2bf2456496
Fix type of `StatusBuilder::media_ids`
...
The identifier in the JSON response to a POST to `/media` is a string,
as can be seen in the Attachment entity.
Even though that identifier has always been a string of numbers (at
least in Mastodon's case), it should not be assumed that it will
continue to be so in the future, so keeping it as a String seems more
prudent.
Additionally, this simplifies the process of posting a new status with
an attachment, as it is no longer necessary to parse the resulting
attachment's id to an u64.
5 years ago
Paul Woolcock
989d9a5965
feat(status): Add language code to status builder
...
Closes #55
6 years ago
Paul Woolcock
b4a43dc783
Add some more tests
6 years ago
Paul Woolcock
dc6d2738e1
StatusBuilder::new takes anything that is Display
6 years ago
Paul Woolcock
009798d17f
Clean up status_builder a bit, and add some tests
6 years ago
Paul Woolcock
8636e690c3
rustfmt pass
6 years ago
Paul Woolcock
e5175f09fe
make apps::prelude and use the preludes in the tests
6 years ago
Paul Woolcock
a9b6b52890
Change mammut references to elefren
6 years ago
Aaron Power
523d83022e
Fixed example code, and {un}follow routes.
6 years ago
Aaron Power
b445197381
docs(all): Added documentation to missing parts
7 years ago
Aaron Power
39e539646b
Version 0.6
...
Added proper error handling
impl fmt::Display for apps::Scope
make StatusBuilder.status public
7 years ago
Aaron Power
686c5129f3
0.2 corrected oauth, and added some documentation
7 years ago
Aaron Power
36ae371beb
Initial commit
7 years ago