Apub inbox rewrite (#1652)
* start to implement apub inbox routing lib
* got something that almost works
* it compiles!
* implemented some more
* move library code to separate crate (most of it)
* convert private message handlers
* convert all comment receivers (except undo comment)
* convert post receiver
* add verify trait
* convert community receivers
* add cc field for all activities which i forgot before
* convert inbox functions, add missing checks
* convert undo like/dislike receivers
* convert undo_delete and undo_remove receivers
* move block/unblock activities
* convert remaining activity receivers
* reimplement http signature verification and other checks
* also use actor type for routing, VerifyActivity and SendActivity traits
* cleanup and restructure apub_receive code
* wip: try to fix activity routing
* implement a (very bad) derive macro for activityhandler
* working activity routing!
* rework pm verify(), fix tests and confirm manually
also remove inbox username check which was broken
* rework following verify(), fix tests and test manually
* fix post/comment create/update, rework voting
* Rewrite remove/delete post/comment, fix tests, test manually
* Rework and fix (un)block user, announce, update post
* some code cleanup
* rework delete/remove activity receivers (still quite messy)
* rewrite, test and fix add/remove mod, update community handlers
* add docs for ActivityHandler derive macro
* dont try to compile macro comments
2021-07-17 10:08:46 -06:00
|
|
|
[package]
|
|
|
|
name = "lemmy_apub_lib"
|
2022-03-29 09:54:13 -06:00
|
|
|
version = "0.16.2-rc.3"
|
2022-02-14 08:34:54 -07:00
|
|
|
edition = "2021"
|
2021-07-24 03:55:56 -06:00
|
|
|
description = "A link aggregator for the fediverse"
|
|
|
|
license = "AGPL-3.0"
|
2021-10-19 11:03:43 -06:00
|
|
|
homepage = "https://join-lemmy.org/"
|
|
|
|
documentation = "https://join-lemmy.org/docs/en/index.html"
|
Apub inbox rewrite (#1652)
* start to implement apub inbox routing lib
* got something that almost works
* it compiles!
* implemented some more
* move library code to separate crate (most of it)
* convert private message handlers
* convert all comment receivers (except undo comment)
* convert post receiver
* add verify trait
* convert community receivers
* add cc field for all activities which i forgot before
* convert inbox functions, add missing checks
* convert undo like/dislike receivers
* convert undo_delete and undo_remove receivers
* move block/unblock activities
* convert remaining activity receivers
* reimplement http signature verification and other checks
* also use actor type for routing, VerifyActivity and SendActivity traits
* cleanup and restructure apub_receive code
* wip: try to fix activity routing
* implement a (very bad) derive macro for activityhandler
* working activity routing!
* rework pm verify(), fix tests and confirm manually
also remove inbox username check which was broken
* rework following verify(), fix tests and test manually
* fix post/comment create/update, rework voting
* Rewrite remove/delete post/comment, fix tests, test manually
* Rework and fix (un)block user, announce, update post
* some code cleanup
* rework delete/remove activity receivers (still quite messy)
* rewrite, test and fix add/remove mod, update community handlers
* add docs for ActivityHandler derive macro
* dont try to compile macro comments
2021-07-17 10:08:46 -06:00
|
|
|
|
|
|
|
[dependencies]
|
2022-03-29 09:54:13 -06:00
|
|
|
lemmy_utils = { version = "=0.16.2-rc.3", path = "../utils" }
|
|
|
|
lemmy_apub_lib_derive = { version = "=0.16.2-rc.3", path = "../apub_lib_derive" }
|
2022-01-12 17:17:00 -07:00
|
|
|
chrono = "0.4.19"
|
2021-12-14 06:30:37 -07:00
|
|
|
serde = { version = "1.0.131", features = ["derive"] }
|
|
|
|
async-trait = "0.1.52"
|
2021-08-17 14:31:16 -06:00
|
|
|
url = { version = "2.2.2", features = ["serde"] }
|
2021-12-14 06:30:37 -07:00
|
|
|
serde_json = { version = "1.0.72", features = ["preserve_order"] }
|
|
|
|
anyhow = "1.0.51"
|
|
|
|
reqwest = { version = "0.11.7", features = ["json"] }
|
|
|
|
reqwest-middleware = "0.1.3"
|
2021-11-23 05:16:47 -07:00
|
|
|
tracing = "0.1.29"
|
2021-10-06 14:20:05 -06:00
|
|
|
base64 = "0.13.0"
|
2021-12-14 06:30:37 -07:00
|
|
|
openssl = "0.10.38"
|
2021-11-22 11:58:31 -07:00
|
|
|
once_cell = "1.8.0"
|
2021-10-06 14:20:05 -06:00
|
|
|
http = "0.2.5"
|
2021-12-14 06:30:37 -07:00
|
|
|
sha2 = "0.10.0"
|
2022-03-02 11:00:52 -07:00
|
|
|
actix-web = { version = "4.0.0", default-features = false }
|
|
|
|
http-signature-normalization-actix = { version = "0.6.0-beta.6", default-features = false, features = ["server", "sha-2"] }
|
2021-12-14 06:30:37 -07:00
|
|
|
http-signature-normalization-reqwest = { version = "0.4.0", default-features = false, features = ["sha-2", "middleware"] }
|
2021-11-23 05:20:01 -07:00
|
|
|
background-jobs = "0.11.0"
|
2021-11-04 18:24:10 -06:00
|
|
|
diesel = "1.4.8"
|