[package]
name = "lemmy_server"
version = "0.16.3"
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_lib",
    "crates/apub_lib_derive",
    "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.3", path = "./crates/api" }
lemmy_api_crud = { version = "=0.16.3", path = "./crates/api_crud" }
lemmy_apub = { version = "=0.16.3", path = "./crates/apub" }
lemmy_apub_lib = { version = "=0.16.3", path = "./crates/apub_lib" }
lemmy_utils = { version = "=0.16.3", path = "./crates/utils" }
lemmy_db_schema = { version = "=0.16.3", path = "./crates/db_schema" }
lemmy_api_common = { version = "=0.16.3", path = "crates/api_common" }
lemmy_websocket = { version = "=0.16.3", path = "./crates/websocket" }
lemmy_routes = { version = "=0.16.3", path = "./crates/routes" }
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"
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 }