LemmyNet / activitypub-federation-rust

High-level Rust library for the Activitypub protocol
GNU Affero General Public License v3.0
408 stars 46 forks source link

Upgrade `hyper` and `http` dependencies to 1.0 #87

Open Nutomic opened 9 months ago

Nutomic commented 9 months ago

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

kwaa commented 9 months ago

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

j0lol commented 6 months ago

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

j0lol commented 6 months ago

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

j0lol commented 6 months ago

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

kwaa commented 2 months ago

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