Split lemmy_apub crate into two parts apub and apub_receive #190

Merged
dessalines merged 1 commits from split-apub-crate into main 2021-03-31 10:36:53 +00:00
Owner

I'm really surprised that the receive part alone takes so much compilation time. But it has 3300 lines of Rust, compared to 4100 for the other apub code, so it makes sense. Good thing is that this makes the refactoring easier, extracting a crate apub_send would get quite tricky.

Whats a bit ugly about this is that a bunch of the internal apub functions have to be public now, but nothing we can do about that.

![](https://lemmy.ml/pictrs/image/hYHMhyGhOH.jpg) I'm really surprised that the receive part alone takes so much compilation time. But it has 3300 lines of Rust, compared to 4100 for the other apub code, so it makes sense. Good thing is that this makes the refactoring easier, extracting a crate `apub_send` would get quite tricky. Whats a bit ugly about this is that a bunch of the internal apub functions have to be public now, but nothing we can do about that.
nutomic added 1 commit 2021-03-30 20:30:06 +00:00
dessalines merged commit 1a3a215f59 into main 2021-03-31 10:36:53 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LemmyNet/lemmy#190
No description provided.