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 16:08:46 +00:00
|
|
|
[package]
|
|
|
|
name = "lemmy_apub_lib"
|
2022-01-09 16:09:03 +00:00
|
|
|
version = "0.15.0-rc.7"
|
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 16:08:46 +00:00
|
|
|
edition = "2018"
|
2021-07-24 09:55:56 +00:00
|
|
|
description = "A link aggregator for the fediverse"
|
|
|
|
license = "AGPL-3.0"
|
2021-10-19 17:03:43 +00: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 16:08:46 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-01-09 16:09:03 +00:00
|
|
|
lemmy_utils = { version = "=0.15.0-rc.7", path = "../utils" }
|
|
|
|
lemmy_apub_lib_derive = { version = "=0.15.0-rc.7", path = "../apub_lib_derive" }
|
2021-12-14 13:30:37 +00:00
|
|
|
activitystreams = "0.7.0-alpha.14"
|
|
|
|
serde = { version = "1.0.131", features = ["derive"] }
|
|
|
|
async-trait = "0.1.52"
|
2021-08-17 20:31:16 +00:00
|
|
|
url = { version = "2.2.2", features = ["serde"] }
|
2021-12-14 13:30:37 +00: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 12:16:47 +00:00
|
|
|
tracing = "0.1.29"
|
2021-10-06 20:20:05 +00:00
|
|
|
base64 = "0.13.0"
|
2021-12-14 13:30:37 +00:00
|
|
|
openssl = "0.10.38"
|
2021-11-22 18:58:31 +00:00
|
|
|
once_cell = "1.8.0"
|
2021-10-06 20:20:05 +00:00
|
|
|
http = "0.2.5"
|
2021-12-14 13:30:37 +00:00
|
|
|
sha2 = "0.10.0"
|
2021-12-30 18:37:59 +00:00
|
|
|
actix-web = { version = "4.0.0-beta.18", default-features = false }
|
2021-12-14 13:30:37 +00:00
|
|
|
http-signature-normalization-actix = { version = "0.5.0-beta.14", default-features = false, features = ["server", "sha-2"] }
|
|
|
|
http-signature-normalization-reqwest = { version = "0.4.0", default-features = false, features = ["sha-2", "middleware"] }
|
2021-11-23 12:20:01 +00:00
|
|
|
background-jobs = "0.11.0"
|
2021-11-05 00:24:10 +00:00
|
|
|
diesel = "1.4.8"
|