-[package]
-name = "lemmy_server"
-version = "0.12.0-rc.1"
-edition = "2018"
+[workspace.package]
+version = "0.17.1"
+edition = "2021"
description = "A link aggregator for the fediverse"
-homepage = "https://join-lemmy.org/"
license = "AGPL-3.0"
+homepage = "https://join-lemmy.org/"
documentation = "https://join-lemmy.org/docs/en/index.html"
+repository = "https://github.com/LemmyNet/lemmy"
+
+[package]
+name = "lemmy_server"
+version.workspace = true
+edition.workspace = true
+description.workspace = true
+license.workspace = true
+homepage.workspace = true
+documentation.workspace = true
+repository.workspace = true
[lib]
doctest = false
+[profile.release]
+strip = "symbols"
+debug = 0
+lto = "thin"
+
[profile.dev]
+strip = "symbols"
debug = 0
+[features]
+embed-pictrs = ["pict-rs"]
+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_queries",
"crates/db_schema",
"crates/db_views",
"crates/db_views_actor",
"crates/db_views_actor",
- "crates/websocket",
"crates/routes"
]
-[dependencies]
-lemmy_api = { version = "=0.12.0-rc.1", path = "./crates/api" }
-lemmy_api_crud = { version = "=0.12.0-rc.1", path = "./crates/api_crud" }
-lemmy_apub = { version = "=0.12.0-rc.1", path = "./crates/apub" }
-lemmy_utils = { version = "=0.12.0-rc.1", path = "./crates/utils" }
-lemmy_db_schema = { version = "=0.12.0-rc.1", path = "./crates/db_schema" }
-lemmy_db_queries = { version = "=0.12.0-rc.1", path = "./crates/db_queries" }
-lemmy_db_views = { version = "=0.12.0-rc.1", path = "./crates/db_views" }
-lemmy_db_views_moderator = { version = "=0.12.0-rc.1", path = "./crates/db_views_moderator" }
-lemmy_db_views_actor = { version = "=0.12.0-rc.1", path = "./crates/db_views_actor" }
-lemmy_api_common = { version = "=0.12.0-rc.1", path = "crates/api_common" }
-lemmy_websocket = { version = "=0.12.0-rc.1", path = "./crates/websocket" }
-lemmy_routes = { version = "=0.12.0-rc.1", path = "./crates/routes" }
-diesel = "1.4.7"
-diesel_migrations = "1.4.0"
-chrono = { version = "0.4.19", features = ["serde"] }
-serde = { version = "1.0.129", features = ["derive"] }
-actix = "0.12.0"
-actix-web = { version = "4.0.0-beta.8", default-features = false, features = ["rustls"] }
-log = "0.4.14"
-env_logger = "0.9.0"
-strum = "0.21.0"
-url = { version = "2.2.2", features = ["serde"] }
-openssl = "0.10.36"
-http-signature-normalization-actix = { version = "0.5.0-beta.7", default-features = false, features = ["sha-2"] }
-tokio = { version = "1.10.1", features = ["sync"] }
-anyhow = "1.0.43"
-reqwest = { version = "0.11.4", features = ["json"] }
-activitystreams = "0.7.0-alpha.11"
-actix-rt = { version = "2.2.0", default-features = false }
-serde_json = { version = "1.0.66", features = ["preserve_order"] }
+[workspace.dependencies]
+lemmy_api = { version = "=0.17.1", path = "./crates/api" }
+lemmy_api_crud = { version = "=0.17.1", path = "./crates/api_crud" }
+lemmy_apub = { version = "=0.17.1", path = "./crates/apub" }
+lemmy_utils = { version = "=0.17.1", path = "./crates/utils" }
+lemmy_db_schema = { version = "=0.17.1", path = "./crates/db_schema" }
+lemmy_api_common = { version = "=0.17.1", path = "./crates/api_common" }
+lemmy_routes = { version = "=0.17.1", path = "./crates/routes" }
+lemmy_db_views = { version = "=0.17.1", path = "./crates/db_views" }
+lemmy_db_views_actor = { version = "=0.17.1", path = "./crates/db_views_actor" }
+lemmy_db_views_moderator = { version = "=0.17.1", path = "./crates/db_views_moderator" }
+activitypub_federation = "0.3.5"
+diesel = "2.0.2"
+diesel_migrations = "2.0.0"
+diesel-async = "0.1.1"
+serde = { version = "1.0.147", features = ["derive"] }
+actix-web = { version = "4.2.1", default-features = false, features = ["macros", "rustls"] }
+tracing = "0.1.36"
+tracing-actix-web = { version = "0.6.1", default-features = false }
+tracing-error = "0.2.0"
+tracing-log = "0.1.3"
+tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
+url = { version = "2.3.1", features = ["serde"] }
+reqwest = { version = "0.11.12", features = ["json", "blocking"] }
+reqwest-middleware = "0.2.0"
+reqwest-tracing = "0.4.0"
clokwerk = "0.3.5"
+doku = { version = "0.20.0", features = ["url-2"] }
+parking_lot = "0.12.1"
+reqwest-retry = "0.2.0"
+bcrypt = "0.13.0"
+chrono = { version = "0.4.22", features = ["serde"], default-features = false }
+serde_json = { version = "1.0.87", features = ["preserve_order"] }
+base64 = "0.13.1"
+uuid = { version = "1.2.1", features = ["serde", "v4"] }
+async-trait = "0.1.58"
+captcha = "0.0.9"
+anyhow = "1.0.66"
+diesel_ltree = "0.3.0"
+typed-builder = "0.10.0"
+serial_test = "0.9.0"
+tokio = "1.21.2"
+sha2 = "0.10.6"
+regex = "1.6.0"
+once_cell = "1.15.0"
+diesel-derive-newtype = "2.0.0-rc.0"
+strum = "0.24.1"
+strum_macros = "0.24.3"
+itertools = "0.10.5"
+futures = "0.3.25"
+http = "0.2.8"
+actix-rt = { version = "2.7.0", default-features = false }
+percent-encoding = "2.2.0"
+rosetta-i18n = "0.1.2"
+rand = "0.8.5"
+opentelemetry = { version = "0.17.0", features = ["rt-tokio"] }
+tracing-opentelemetry = { version = "0.17.2" }
+actix-ws = "0.2.0"
-[dev-dependencies.cargo-husky]
-version = "1.5.0"
-default-features = false # Disable features which are enabled by default
-features = ["precommit-hook", "run-cargo-fmt", "run-cargo-clippy"]
-
-[package.metadata.cargo-udeps.ignore]
-development = ["cargo-husky"]
+[dependencies]
+lemmy_api = { workspace = true }
+lemmy_api_crud = { workspace = true }
+lemmy_apub = { workspace = true }
+lemmy_utils = { workspace = true }
+lemmy_db_schema = { workspace = true }
+lemmy_api_common = { workspace = true }
+lemmy_routes = { workspace = true }
+activitypub_federation = { workspace = true }
+diesel = { workspace = true }
+diesel_migrations = { workspace = true }
+diesel-async = { workspace = true }
+serde = { workspace = true }
+actix-web = { workspace = true }
+tracing = { workspace = true }
+tracing-actix-web = { workspace = true }
+tracing-error = { workspace = true }
+tracing-log = { workspace = true }
+tracing-subscriber = { workspace = true }
+url = { workspace = true }
+reqwest = { workspace = true }
+reqwest-middleware = { workspace = true }
+reqwest-tracing = { workspace = true }
+clokwerk = { workspace = true }
+doku = { workspace = true }
+parking_lot = { workspace = true }
+reqwest-retry = { workspace = true }
+serde_json = { workspace = true }
+futures = { workspace = true }
+actix-ws = { workspace = true }
+tracing-opentelemetry = { workspace = true, optional = true }
+opentelemetry = { workspace = true, optional = true }
+actix-web-actors = { version = "4.1.0", default-features = false }
+actix-rt = "2.6"
+rand = { workspace = true }
+console-subscriber = { version = "0.1.8", optional = true }
+opentelemetry-otlp = { version = "0.10.0", optional = true }
+pict-rs = { version = "0.4.0-beta.9", optional = true }
+tokio.workspace = true