cel 🌸
e572664633
Add audio to MediaType enum
2023-06-23 14:32:42 +01:00
Scott Boggs
7c09814bba
Merge pull request #106 from vbrandl/fix/openssl-dependency
...
Disable default features for reqwest
2023-06-16 08:05:00 -04:00
Valentin Brandl
6ecde64fc3
Disable default features for reqwest
...
Using `reqwest` with default-features enabled will enable the
`default-tls`, which in turn will enable the `native-tls` feautre which
will result in an attempt to compile against OpenSSL [0]. If one wants
to use `mastodon-async` without depending on OpenSSL, the default
features for `reqwest` must be disabled.
The default features for `mastodon-async` will enable
`reqwest/default-tls`, so the default behaviour won't change, but now it
is possible to declare the dependency on `mastodon-async` with default
features disabled and the `rustls-tls` feature enabled, allowing to
compile without a dependency on OpenSSL.
[0]: e02df1f448/Cargo.toml (L30)
2023-06-14 19:00:00 +02:00
D. Scott Boggs
a8dcd93bf4
Add shell.nix
2023-06-10 13:32:34 -04:00
D. Scott Boggs
b3e3575f84
bump version in cargo.toml
2023-06-10 13:28:00 -04:00
Scott Boggs
db6cbdb7fe
Merge pull request #103 from baummarten/fix_entities
...
Adding an explicit time >= 0.3.16
2023-06-10 13:21:54 -04:00
baummarten
1524895122
entities/Cargo.toml: time >= 0.3.16
2023-06-09 17:38:49 +02:00
Scott Boggs
7d0055e30b
Merge pull request #102 from dscottboggs/dependabot/cargo/criterion-0.5.1
...
Update criterion requirement from 0.4.0 to 0.5.1
2023-06-01 12:01:36 -04:00
Scott Boggs
3b706f2897
Merge pull request #101 from dscottboggs/dependabot/cargo/html2text-0.6.0
...
Update html2text requirement from 0.5.0 to 0.6.0
2023-06-01 12:01:18 -04:00
dependabot[bot]
236019fd6f
Update criterion requirement from 0.4.0 to 0.5.1
...
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs ) to permit the latest version.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.1 )
---
updated-dependencies:
- dependency-name: criterion
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 03:01:20 +00:00
dependabot[bot]
1339015f63
Update html2text requirement from 0.5.0 to 0.6.0
...
Updates the requirements on [html2text](https://github.com/jugglerchris/rust-html2text ) to permit the latest version.
- [Changelog](https://github.com/jugglerchris/rust-html2text/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jugglerchris/rust-html2text/compare/0.5.0...0.6.0 )
---
updated-dependencies:
- dependency-name: html2text
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 03:00:50 +00:00
Scott Boggs
d521f4158b
Merge pull request #99 from joshka/fix-paging
...
fix: next/prev page handling in Page struct
2023-05-19 08:21:29 -04:00
Josh McKinney
d4956e943c
fix: next/prev page handling in Page struct
...
Improve the handling of next and previous pages in the `Page` struct
by fixing a bug that caused the URLs to be set to None when a page with
no data was loaded. This change allows for the next and previous page
URLs to be preserved for future retrieval even when there are no
results in the current page.
2023-04-26 18:53:23 -07:00
Scott Boggs
1cb3b834cf
Merge pull request #97 from joshka/page_auth
...
fix: authenticate in page_next/page_prev calls
2023-04-22 06:35:23 -04:00
Scott Boggs
321f332723
Merge pull request #98 from joshka/msrv
...
build: set the rust msrv to 1.65
2023-04-22 06:33:33 -04:00
Scott Boggs
128ce5de3f
Merge pull request #92 from dscottboggs/dependabot/cargo/html2text-0.5.0
...
Update html2text requirement from 0.4.4 to 0.5.0
2023-04-22 06:33:08 -04:00
Josh McKinney
1e8d7f3967
build: set the rust msrv to 1.65
...
necessary due to the use of workspace.package to handle inherited props
2023-04-14 16:21:35 -07:00
Josh McKinney
2f3daffa74
fix: authenticate in page_next/page_prev calls
...
Fixes the following error:
error err=Couldn't get next page
Caused by:
0: Error encountered in the HTTP backend while requesting a route.
1: HTTP status client error (401 Unauthorized) for url (https://hachyderm.io/api/v1/timelines/home?max_id=110196530215835290 )
2023-04-14 05:05:44 -07:00
dependabot[bot]
da873e4ea8
Update html2text requirement from 0.4.4 to 0.5.0
...
Updates the requirements on [html2text](https://github.com/jugglerchris/rust-html2text ) to permit the latest version.
- [Release notes](https://github.com/jugglerchris/rust-html2text/releases )
- [Changelog](https://github.com/jugglerchris/rust-html2text/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jugglerchris/rust-html2text/compare/0.4.4...0.5.0 )
---
updated-dependencies:
- dependency-name: html2text
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-01 02:59:52 +00:00
D. Scott Boggs
782ae82fb5
Bump version
2023-03-19 12:05:49 -04:00
Scott Boggs
e6aae9041f
Merge pull request #90 from dscottboggs/fix/derive-is_variant
...
Fix: derive `is_variant`
2023-03-19 12:02:54 -04:00
D. Scott Boggs
e279f4bda7
Switch from the `is_variant` crate to the `derive_is_enum_variant` one.
2023-03-19 11:22:51 -04:00
D. Scott Boggs
7324a6c086
Fix stream urls
2023-02-27 08:51:29 -05:00
D. Scott Boggs
ae3c9ae6ce
Bump version
2023-02-13 12:31:10 -05:00
D. Scott Boggs
1884ea272c
Pass client instance to the event stream
2023-02-13 12:22:46 -05:00
D. Scott Boggs
6f5a2a5e90
Add is_variant methods to all enums
2023-02-01 15:38:48 -05:00
D. Scott Boggs
1081273571
Temporary patch for is_variant enabled
2023-02-01 15:38:48 -05:00
D. Scott Boggs
2e8f8a4885
Fixes for breaking changes in the toml crate
2023-02-01 08:52:50 -05:00
dependabot[bot]
765ab75ea8
Update toml requirement from 0.5 to 0.7
...
Updates the requirements on [toml](https://github.com/toml-rs/toml ) to permit the latest version.
- [Release notes](https://github.com/toml-rs/toml/releases )
- [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.5.0...toml-v0.7.1 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 08:52:50 -05:00
D. Scott Boggs
77409389ac
Drop dependency on serde_qs for now
2023-02-01 07:28:51 -05:00
dependabot[bot]
6b2cb17d9a
Update indoc requirement from 1.0 to 2.0
...
Updates the requirements on [indoc](https://github.com/dtolnay/indoc ) to permit the latest version.
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.0...2.0.0 )
---
updated-dependencies:
- dependency-name: indoc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 06:05:18 -05:00
D. Scott Boggs
d6f9617207
Use macro to define ID types
2023-01-29 09:11:44 -05:00
D. Scott Boggs
3ac64d3d08
Add description to entities crate
2023-01-29 07:03:09 -05:00
D. Scott Boggs
6ff6697b46
This is a minor release, not a patch
2023-01-29 06:56:45 -05:00
D. Scott Boggs
b6d6651869
Add a little more documentation
2023-01-29 06:13:53 -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
5f5bc8728c
Add alias/convenience method
2023-01-29 06:13:53 -05:00
D. Scott Boggs
b6fd884387
Add client method to wait for attachment processing
2023-01-29 06:13:53 -05:00
D. Scott Boggs
184dd32146
Ignore README tests because they don't work in CI
2023-01-24 15:33:49 -05:00
D. Scott Boggs
45338d5977
bump version
2023-01-24 15:33:49 -05:00
D. Scott Boggs
8abf4950f9
Test the whole workspace
2023-01-24 15:33:49 -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
53fc05d36f
Add Id types to prelude and entities prelude to crate prelude
2023-01-24 15:33:49 -05:00
D. Scott Boggs
be39ca6e24
Implement std::format::Display for all Id types
2023-01-24 15:33:49 -05:00
D. Scott Boggs
eeac76c750
Add CI jobs to comb branch
2023-01-24 15:33:49 -05:00
D. Scott Boggs
ef28d8367f
Add note pointing to more complete example.
2023-01-21 05:33:41 -05:00
Sprite
2301fda307
Fix errors caused by sync locks crossing `await` in `cli::authenticate`
2023-01-20 16:55:26 -05:00
kuna
9084c1fcaa
Update docs for Registration::new_with_client
...
Co-authored-by: Scott Boggs <dscottboggs@gmail.com>
2023-01-14 16:28:05 -05:00
baummarten
d94bcd45d2
Mastodon::new now wraps Mastodon::new_with_client
2023-01-14 16:28:05 -05:00
baummarten
72d158513c
Registration::new_with_client
...
Registration can now be created with a custom Reqwest Client.
2023-01-14 16:28:05 -05:00