Replace isahc with attohttpc to remove curl (fixes #798) #52
Loading…
Reference in New Issue
No description provided.
Delete Branch "use-attohttpc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This removes curl as a dependency. The compile doesnt get much faster for me, but it might help on computers with less CPU cores. And the fact is that we just dont need curl, something minimal like attohttpc is totally fine.
I tested to make sure that iframely embeds are still working.
Todo:
Gotta head out but heres another dep we dont need:
Let me know if this ones ready, or you want me to wait on those other todos.
Also just a side note / reminder, but try to work against github issues. Every commit or PR should be closing a github issue. This one might be https://github.com/LemmyNet/lemmy/issues/798
Okay this is good to merge. I opened an issue at actix-http about the brotli dep here. But I think the only way to significantly reduce compile time would be if we replace diesel and/or actix.
I did reference that issue in my commit, so it should be all good.
I'm compiling and testing this rn.