mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 21:11:40 +00:00
a2a594b763
* Create example for apub lib * some rewriting of apub lib * Add LocalInstance struct for apub lib to avoid using Lemmy Settings * Move ActorType trait to lemmy_apub, because its not needed in library * Use reqwest_retry instead of custom impl, dont specify timeout on every send() * Some improvements to example * Moved inbox handling to library * bug fixes * Move context and serde helpers into library * wip: example changes * Add lemmy_utils feature to build only LemmyError * Rename to activitypub_federation * Remove lemmy_utils dep from activitypub_federation using generic error type * Finish activitypub example * Cleanup and fix tests * Reorganize library files * Remove ApubObject.to_tombstone() * Extract activitypub library into separate git repository
51 lines
1.8 KiB
TOML
51 lines
1.8 KiB
TOML
[package]
|
|
name = "lemmy_apub"
|
|
version = "0.16.5"
|
|
edition = "2021"
|
|
description = "A link aggregator for the fediverse"
|
|
license = "AGPL-3.0"
|
|
homepage = "https://join-lemmy.org/"
|
|
documentation = "https://join-lemmy.org/docs/en/index.html"
|
|
|
|
[lib]
|
|
name = "lemmy_apub"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
lemmy_utils = { version = "=0.16.5", path = "../utils" }
|
|
lemmy_db_schema = { version = "=0.16.5", path = "../db_schema", features = ["full"] }
|
|
lemmy_db_views = { version = "=0.16.5", path = "../db_views", features = ["full"] }
|
|
lemmy_db_views_actor = { version = "=0.16.5", path = "../db_views_actor", features = ["full"] }
|
|
lemmy_api_common = { version = "=0.16.5", path = "../api_common", features = ["full"] }
|
|
lemmy_websocket = { version = "=0.16.5", path = "../websocket" }
|
|
activitypub_federation = "0.1.0"
|
|
diesel = "1.4.8"
|
|
activitystreams-kinds = "0.2.1"
|
|
chrono = { version = "0.4.19", features = ["serde"], default-features = false }
|
|
serde_json = { version = "1.0.79", features = ["preserve_order"] }
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
serde_with = "1.12.0"
|
|
actix = "0.13.0"
|
|
actix-web = { version = "4.0.1", default-features = false }
|
|
actix-rt = { version = "2.7.0", default-features = false }
|
|
tracing = "0.1.32"
|
|
strum_macros = "0.24.0"
|
|
url = { version = "2.2.2", features = ["serde"] }
|
|
http = "0.2.6"
|
|
http-signature-normalization-actix = { version = "0.6.1", default-features = false, features = ["server", "sha-2"] }
|
|
futures = "0.3.21"
|
|
itertools = "0.10.3"
|
|
uuid = { version = "0.8.2", features = ["serde", "v4"] }
|
|
sha2 = "0.10.2"
|
|
async-trait = "0.1.53"
|
|
anyhow = "1.0.56"
|
|
reqwest = { version = "0.11.10", features = ["json"] }
|
|
html2md = "0.2.13"
|
|
once_cell = "1.10.0"
|
|
parking_lot = "0.12.0"
|
|
|
|
[dev-dependencies]
|
|
serial_test = "0.6.0"
|
|
assert-json-diff = "2.0.1"
|
|
reqwest-middleware = "0.1.5"
|