Nutomic
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
67 lines
2.2 KiB
TOML
67 lines
2.2 KiB
TOML
[package]
|
|
name = "lemmy_server"
|
|
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]
|
|
doctest = false
|
|
|
|
[profile.dev]
|
|
debug = 0
|
|
|
|
[features]
|
|
console = ["console-subscriber", "opentelemetry", "opentelemetry-otlp", "tracing-opentelemetry",
|
|
"reqwest-tracing/opentelemetry_0_16"]
|
|
default = []
|
|
|
|
[workspace]
|
|
members = [
|
|
"crates/api",
|
|
"crates/api_crud",
|
|
"crates/api_common",
|
|
"crates/apub",
|
|
"crates/utils",
|
|
"crates/db_schema",
|
|
"crates/db_views",
|
|
"crates/db_views_actor",
|
|
"crates/db_views_actor",
|
|
"crates/websocket",
|
|
"crates/routes"
|
|
]
|
|
|
|
[dependencies]
|
|
lemmy_api = { version = "=0.16.5", path = "./crates/api" }
|
|
lemmy_api_crud = { version = "=0.16.5", path = "./crates/api_crud" }
|
|
lemmy_apub = { version = "=0.16.5", path = "./crates/apub" }
|
|
lemmy_utils = { version = "=0.16.5", path = "./crates/utils" }
|
|
lemmy_db_schema = { version = "=0.16.5", path = "./crates/db_schema" }
|
|
lemmy_api_common = { version = "=0.16.5", path = "crates/api_common" }
|
|
lemmy_websocket = { version = "=0.16.5", path = "./crates/websocket" }
|
|
lemmy_routes = { version = "=0.16.5", path = "./crates/routes" }
|
|
activitypub_federation = "0.1.0"
|
|
diesel = "1.4.8"
|
|
diesel_migrations = "1.4.0"
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
actix = "0.13.0"
|
|
actix-web = { version = "4.0.1", default-features = false, features = ["macros", "rustls"] }
|
|
tracing = "0.1.32"
|
|
tracing-actix-web = { version = "0.5.1", default-features = false }
|
|
tracing-error = "0.2.0"
|
|
tracing-log = "0.1.2"
|
|
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
|
|
url = { version = "2.2.2", features = ["serde"] }
|
|
reqwest = { version = "0.11.10", features = ["json"] }
|
|
reqwest-middleware = "0.1.5"
|
|
reqwest-tracing = "0.2.1"
|
|
clokwerk = "0.3.5"
|
|
doku = "0.11.0"
|
|
parking_lot = "0.12.0"
|
|
reqwest-retry = "0.1.5"
|
|
console-subscriber = { version = "0.1.3", optional = true }
|
|
opentelemetry = { version = "0.17.0", features = ["rt-tokio"], optional = true }
|
|
opentelemetry-otlp = { version = "0.10.0", optional = true }
|
|
tracing-opentelemetry = { version = "0.17.2", optional = true }
|