Paul Woolcock
602bfb7cdd
use nightly fmt
4 years ago
Paul Woolcock
7487f607e6
Second fmt pass
4 years ago
Paul Woolcock
982a8fc776
making clippy happy
4 years ago
Paul Woolcock
a69d0ea928
Cargo-fmt pass
4 years ago
Paul Woolcock
0b4ee7bfb2
Various cleanup tasks
...
* Remove old `extern crate` stmts
* Remove rust-skeptic
* Clean up Cargo.toml
4 years ago
Paul Woolcock
16bc060407
Update to the 2018 edition
...
Only 2 years later :eyeroll:
4 years ago
Jennifer Glauche
ac3ecc82b7
add documentation to metadata fields
5 years ago
Jennifer Glauche
1dd2963cf3
make MetadataFields be public
5 years ago
Christopher Davis
4020ecc6a7
account: Properly mark nullable source fields
...
Privacy and note are both nullable according to
https://source.joinmastodon.org/mastodon/docs/blob/master/content/en/api/entities.md#source
5 years ago
Paul Woolcock
fe687bd955
Add `derive(PartialEq)` to all entities
6 years ago
Paul Woolcock
2edebe90d1
Pleroma doesn't have a `fields` field here
...
Closes #86
6 years ago
Paul Woolcock
0ad1e3741c
Allow the user to update their profile metadata fields
...
Closes #54
6 years ago
Paul Woolcock
375e4af286
Add a test for UpdateCredentials::build
6 years ago
Paul Woolcock
a57c7e2f91
feat(update_credentials): Implement UpdateCredsRequest
...
This will now allow a user to actually call the
MastodonClient::update_credentials method
6 years ago
Paul Woolcock
57cc44368c
Document "everything"
...
This is a good start but many things need to be documented better, but
this will at least allow us to turn on #[deny(missing_docs)]
6 years ago
Paul Woolcock
5b24922d9e
Add some more lints, and fix the compile errors they generate
6 years ago
Paul Woolcock
0913926702
Add test for entities::Account
6 years ago
Paul Woolcock
4ff27dd049
Credientials -> Credentials
6 years ago
Paul Woolcock
8636e690c3
rustfmt pass
6 years ago
Paul Woolcock
2e8ee7e840
This field can be `true/false` or `"true"/"false"`
6 years ago
Klaus Purer
bc68726d23
fix(account): Fix moved field on Account ( #31 )
6 years ago
Aaron Power
4984dfaacf
Version 0.10.0-rc1
...
- Added the ability to handle paged entities like favourites and such.
(Only favourites in prerelease)
- Added optional `source` and `moved` fields to `Account`.
- Added `Source` struct to match with the `Account.source` field.
- Added `CredientialsBuilder` struct for updating profile using
`verify_credientials`.
- Attachment now handles being sent an empty object, which is converted
to `None`.
- Added ombed data fields to `Card`.
- Added `version` and `urls` fields to `Instance`.
- Added `id`, `muting_notifications`, and `domain_blocking` to `Relationship`.
- Added `emojis`, `language`, and `pinned` fields to `Status`
- Added `Emoji` struct.
- Added `List` and `Mention` structs(matching routes not added yet).
- Added example that prints your profile.
7 years ago
Johannes
0b5441e52c
Changes IDs to Strings for compliance with APIv1 ( #20 )
7 years ago
Aaron Power
b445197381
docs(all): Added documentation to missing parts
7 years ago
Bryan Tsang
974f9241e1
Fix incompatible serde versions, misspelled reference ( #9 )
7 years ago
Aaron Power
1fb3d16843
Fixed website not being nullable, added static version of urls
8 years ago
Aaron Power
a528624dc3
0.3.0 Redone registration api, added debug/clone
8 years ago
Aaron Power
36ae371beb
Initial commit
8 years ago