Paul Woolcock
80391aebc9
Make sure our README example(s) always compile
il y a 7 ans
Paul Woolcock
0d8522fe76
small readme updates
il y a 7 ans
Paul Woolcock
ea1f600c46
add service=github to the coveralls badge
il y a 7 ans
Paul Woolcock
043d3753e1
rustfmt pass
il y a 7 ans
Paul Woolcock
19ea7c7482
Add some tests for the Error::from impls
il y a 7 ans
Paul Woolcock
5017104e63
Make the examples no-ops when `toml` is not enabled
il y a 7 ans
Paul Woolcock
932161c346
Update .travis.yml
...
don't send emails on a successful build
il y a 7 ans
Paul Woolcock
3083ffd9ff
Make sure tarpaulin builds with the right features
il y a 7 ans
Paul Woolcock
3a09700b97
Add badge for code coverage
il y a 7 ans
Paul Woolcock
c23559c4fd
use cargo-tarpaulin to compute code coverage
il y a 7 ans
Paul Woolcock
35a603f193
These are not always present, make them Option<>s
il y a 7 ans
Paul Woolcock
3330a26760
rustfmt pass
il y a 7 ans
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
il y a 7 ans
Paul Woolcock
6c2ebc6136
Update version in install instructions
il y a 7 ans
Paul Woolcock
fb96f1be3a
Merge pull request #4 from pwoolcoc/fix-crates.io-categories
...
Update category slugs
il y a 7 ans
Paul Woolcock
4c394befa2
Update category slugs
il y a 7 ans
Paul Woolcock
58d08ee70f
small README formatting changes
il y a 7 ans
Paul Woolcock
3863da24b7
Update CHANGELOG
il y a 7 ans
Paul Woolcock
d54162d0b9
fix travis.yml
il y a 7 ans
Paul Woolcock
6ddea87765
Use the new toml helpers instead of the toml crate
il y a 7 ans
Paul Woolcock
384d3d2c41
add toml helpers to data.rs
il y a 7 ans
Paul Woolcock
ce69407e38
Add toml as an optional dep/feature
...
also expand the test matrix so we test with
* zero features
* each feature individually
* all features together
il y a 7 ans
Paul Woolcock
ddcef1940a
Move `Data` struct to it's own module
il y a 7 ans
Paul Woolcock
25999bf423
Initialize book
il y a 7 ans
Paul Woolcock
ab82cf9124
Add `Installation` and `Usage` section to README
il y a 7 ans
Paul Woolcock
d710f4ab49
Fix .travis.yml bash command
il y a 7 ans
Paul Woolcock
7ea0f67ccf
only do rustfmt on nightly
il y a 7 ans
Paul Woolcock
fe1aafff12
`all` should be `--all`
il y a 7 ans
Paul Woolcock
8636e690c3
rustfmt pass
il y a 7 ans
Paul Woolcock
d617d74fa4
Add rustfmt.toml and update travis to check formatting
il y a 7 ans
Paul Woolcock
7462d00c21
Add build badge to README
il y a 7 ans
Paul Woolcock
0f5e295ea9
Revamp registration & auth process
il y a 7 ans
Paul Woolcock
3f7841da02
Add necessary error variant
il y a 7 ans
Paul Woolcock
e7afdf7b59
Add MastodonBuilder and use in From<Data> impl
il y a 7 ans
Paul Woolcock
5eca9748a3
Reduce the visibility of ItemsIter and add docs to items_iter
il y a 7 ans
Paul Woolcock
49eee2313f
Make the `Meta` fields optional
...
using `deserialize_with` causes an error if the `"meta"` key is missing
completely, which is not very useful. This isn't ideal, but it will make
it so all the various states that "meta" can be in will deser correctly
il y a 7 ans
Paul Woolcock
2e8ee7e840
This field can be `true/false` or `"true"/"false"`
il y a 7 ans
Paul Woolcock
e5175f09fe
make apps::prelude and use the preludes in the tests
il y a 7 ans
Paul Woolcock
63d09c1113
Clean up src/lib.rs a bit more
il y a 7 ans
Paul Woolcock
7f1303b5f6
Set a default redirect_uri if none is provided
il y a 7 ans
Paul Woolcock
cc083e335e
Change `Mastodon::from_data` to just `Mastodon::from`
il y a 7 ans
Paul Woolcock
1847160369
No reason to impl Deser for both the ApiError and Error types
il y a 7 ans
Paul Woolcock
454d005517
Move From<> impls too
il y a 7 ans
Paul Woolcock
3f5c1db430
Breakout errors into their own module
il y a 7 ans
Paul Woolcock
473205a5f2
Merge pull request #4 from pwoolcoc/mammut-to-elefren
...
Change mammut references to elefren
il y a 7 ans
Paul Woolcock
a9b6b52890
Change mammut references to elefren
il y a 7 ans
Paul Woolcock
ecb8629a53
Merge pull request #3 from pwoolcoc/mastodon-client-trait
...
Adds a `MastodonClient` trait
il y a 7 ans
Paul Woolcock
22b4b04738
Adds a `MastodonClient` trait
...
This is useful for user code, which can use the trait to add a layer of
indirection to their code, allowing them to swap out implementations for
testing
il y a 7 ans
Paul Woolcock
6c37ecb1e1
Merge pull request #2 from pwoolcoc/fix-url-error
...
Fix url error
il y a 7 ans
Paul Woolcock
fc60b6f60e
Merge pull request #1 from pwoolcoc/page-iterator
...
Item Iter
il y a 7 ans