activitypub-federation-rust icon indicating copy to clipboard operation
activitypub-federation-rust copied to clipboard

Upgrade `hyper` and `http` dependencies to 1.0

Open Nutomic opened this issue 2 years ago • 5 comments

These result in a lot of breaking changes which arent easy to resolve.

https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v100-2023-11-15

https://github.com/hyperium/http/blob/master/CHANGELOG.md#100-november-15-2023

Nutomic avatar Nov 24 '23 11:11 Nutomic

Since hyper was upgraded to 1.0, maybe axum should be upgraded to 0.7 as well? https://tokio.rs/blog/2023-11-27-announcing-axum-0-7-0

kwaa avatar Dec 01 '23 12:12 kwaa

Depends on https://github.com/actix/actix-web/pull/3208, cant update http until actix does

j0lol avatar Mar 03 '24 22:03 j0lol

Also reqwest has not updated to http 1.0: https://github.com/seanmonstar/reqwest/pull/2059

j0lol avatar Mar 03 '24 23:03 j0lol

Here's my best attempt at getting it working on hyper/http 1: https://github.com/j0lol/activitypub-federation-rust

I had to remove actix (for now) and tests fail because of reqwest but it seems to work on my project? I have not tested it much though

j0lol avatar Mar 04 '24 17:03 j0lol

It looks like actix-web won't upgrade http crate until v5, and v5 has no due date...

kwaa avatar Jun 22 '24 08:06 kwaa