2022-11-17 15:23:01 +00:00
|
|
|
[workspace.package]
|
2023-06-23 12:41:20 +00:00
|
|
|
version = "0.18.0"
|
2022-02-14 15:34:54 +00:00
|
|
|
edition = "2021"
|
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/"
|
2021-07-24 09:55:56 +00:00
|
|
|
documentation = "https://join-lemmy.org/docs/en/index.html"
|
2022-11-24 16:38:00 +00:00
|
|
|
repository = "https://github.com/LemmyNet/lemmy"
|
2022-11-17 15:23:01 +00:00
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "lemmy_server"
|
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
description.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
homepage.workspace = true
|
|
|
|
documentation.workspace = true
|
2022-11-24 16:38:00 +00:00
|
|
|
repository.workspace = true
|
2019-04-06 05:29:20 +00:00
|
|
|
|
2021-02-25 19:43:39 +00:00
|
|
|
[lib]
|
|
|
|
doctest = false
|
|
|
|
|
2022-10-25 15:10:07 +00:00
|
|
|
[profile.release]
|
|
|
|
strip = "symbols"
|
|
|
|
debug = 0
|
|
|
|
lto = "thin"
|
|
|
|
|
2021-01-13 17:10:21 +00:00
|
|
|
[profile.dev]
|
2022-10-25 15:10:07 +00:00
|
|
|
strip = "symbols"
|
2021-01-13 17:10:21 +00:00
|
|
|
debug = 0
|
|
|
|
|
2022-02-04 17:31:38 +00:00
|
|
|
[features]
|
2023-01-20 17:46:49 +00:00
|
|
|
embed-pictrs = ["pict-rs"]
|
|
|
|
console = ["console-subscriber", "opentelemetry", "opentelemetry-otlp", "tracing-opentelemetry", "reqwest-tracing/opentelemetry_0_16"]
|
2022-02-04 17:31:38 +00:00
|
|
|
default = []
|
|
|
|
|
2020-07-10 18:15:41 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2021-01-20 15:21:27 +00:00
|
|
|
"crates/api",
|
2021-03-25 19:19:40 +00:00
|
|
|
"crates/api_crud",
|
|
|
|
"crates/api_common",
|
2021-01-20 15:21:27 +00:00
|
|
|
"crates/apub",
|
|
|
|
"crates/utils",
|
|
|
|
"crates/db_schema",
|
|
|
|
"crates/db_views",
|
|
|
|
"crates/db_views_actor",
|
|
|
|
"crates/db_views_actor",
|
2021-02-09 18:26:06 +00:00
|
|
|
"crates/routes"
|
2020-07-10 18:15:41 +00:00
|
|
|
]
|
|
|
|
|
2022-11-17 15:23:01 +00:00
|
|
|
[workspace.dependencies]
|
2023-06-23 12:41:20 +00:00
|
|
|
lemmy_api = { version = "=0.18.0", path = "./crates/api" }
|
|
|
|
lemmy_api_crud = { version = "=0.18.0", path = "./crates/api_crud" }
|
|
|
|
lemmy_apub = { version = "=0.18.0", path = "./crates/apub" }
|
|
|
|
lemmy_utils = { version = "=0.18.0", path = "./crates/utils" }
|
|
|
|
lemmy_db_schema = { version = "=0.18.0", path = "./crates/db_schema" }
|
|
|
|
lemmy_api_common = { version = "=0.18.0", path = "./crates/api_common" }
|
|
|
|
lemmy_routes = { version = "=0.18.0", path = "./crates/routes" }
|
|
|
|
lemmy_db_views = { version = "=0.18.0", path = "./crates/db_views" }
|
|
|
|
lemmy_db_views_actor = { version = "=0.18.0", path = "./crates/db_views_actor" }
|
|
|
|
lemmy_db_views_moderator = { version = "=0.18.0", path = "./crates/db_views_moderator" }
|
2023-06-22 12:35:12 +00:00
|
|
|
activitypub_federation = { version = "0.4.4", default-features = false, features = ["actix-web"] }
|
2023-06-07 10:54:40 +00:00
|
|
|
diesel = "2.1.0"
|
|
|
|
diesel_migrations = "2.1.0"
|
2023-06-15 09:37:05 +00:00
|
|
|
diesel-async = "0.3.1"
|
|
|
|
serde = { version = "1.0.164", features = ["derive"] }
|
2023-04-26 04:26:10 +00:00
|
|
|
serde_with = "1.14.0"
|
2023-06-26 10:54:41 +00:00
|
|
|
actix-web = { version = "4.3.1", default-features = false, features = ["macros", "rustls", "compress-brotli", "compress-gzip", "compress-zstd"] }
|
2023-06-15 09:37:05 +00:00
|
|
|
tracing = "0.1.37"
|
|
|
|
tracing-actix-web = { version = "0.6.2", default-features = false }
|
2021-11-23 12:16:47 +00:00
|
|
|
tracing-error = "0.2.0"
|
2022-09-26 14:09:32 +00:00
|
|
|
tracing-log = "0.1.3"
|
2023-06-15 09:37:05 +00:00
|
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
|
|
|
url = { version = "2.4.0", features = ["serde"] }
|
2023-04-26 04:26:10 +00:00
|
|
|
url_serde = "0.2.0"
|
2023-06-15 09:37:05 +00:00
|
|
|
reqwest = { version = "0.11.18", features = ["json", "blocking"] }
|
|
|
|
reqwest-middleware = "0.2.2"
|
|
|
|
reqwest-tracing = "0.4.4"
|
2021-07-06 13:26:46 +00:00
|
|
|
clokwerk = "0.3.5"
|
2023-06-12 09:55:47 +00:00
|
|
|
doku = { version = "0.21.1", features = ["url-2"] }
|
2022-11-17 15:23:01 +00:00
|
|
|
bcrypt = "0.13.0"
|
2023-06-15 09:37:05 +00:00
|
|
|
chrono = { version = "0.4.26", features = ["serde"], default-features = false }
|
|
|
|
serde_json = { version = "1.0.96", features = ["preserve_order"] }
|
2022-11-17 15:23:01 +00:00
|
|
|
base64 = "0.13.1"
|
2023-06-15 09:37:05 +00:00
|
|
|
uuid = { version = "1.3.4", features = ["serde", "v4"] }
|
|
|
|
async-trait = "0.1.68"
|
2022-11-17 15:23:01 +00:00
|
|
|
captcha = "0.0.9"
|
2023-06-15 09:37:05 +00:00
|
|
|
anyhow = "1.0.71"
|
2022-11-17 15:23:01 +00:00
|
|
|
diesel_ltree = "0.3.0"
|
|
|
|
typed-builder = "0.10.0"
|
|
|
|
serial_test = "0.9.0"
|
2023-06-26 08:24:11 +00:00
|
|
|
tokio = { version = "1.28.2", features = ["full"] }
|
2022-11-17 15:23:01 +00:00
|
|
|
sha2 = "0.10.6"
|
2023-06-15 09:37:05 +00:00
|
|
|
regex = "1.8.4"
|
|
|
|
once_cell = "1.18.0"
|
|
|
|
diesel-derive-newtype = "2.1.0"
|
2023-06-07 10:54:40 +00:00
|
|
|
diesel-derive-enum = {version = "2.1.0", features = ["postgres"] }
|
2022-11-17 15:23:01 +00:00
|
|
|
strum = "0.24.1"
|
|
|
|
strum_macros = "0.24.3"
|
|
|
|
itertools = "0.10.5"
|
2023-06-15 09:37:05 +00:00
|
|
|
futures = "0.3.28"
|
|
|
|
http = "0.2.9"
|
|
|
|
percent-encoding = "2.3.0"
|
2022-11-17 15:23:01 +00:00
|
|
|
rosetta-i18n = "0.1.2"
|
|
|
|
rand = "0.8.5"
|
|
|
|
opentelemetry = { version = "0.17.0", features = ["rt-tokio"] }
|
2023-06-15 09:37:05 +00:00
|
|
|
tracing-opentelemetry = { version = "0.17.4" }
|
2023-04-26 04:26:10 +00:00
|
|
|
ts-rs = { version = "6.2", features = ["serde-compat", "format", "chrono-impl"] }
|
2023-06-26 08:25:38 +00:00
|
|
|
rustls = { version ="0.21.2", features = ["dangerous_configuration"]}
|
|
|
|
futures-util = "0.3.28"
|
|
|
|
tokio-postgres = "0.7.8"
|
|
|
|
tokio-postgres-rustls = "0.10.0"
|
2022-11-17 15:23:01 +00:00
|
|
|
|
|
|
|
[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-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 }
|
2022-11-28 14:29:33 +00:00
|
|
|
serde_json = { workspace = true }
|
2022-11-17 15:23:01 +00:00
|
|
|
tracing-opentelemetry = { workspace = true, optional = true }
|
|
|
|
opentelemetry = { workspace = true, optional = true }
|
2023-06-15 09:37:05 +00:00
|
|
|
console-subscriber = { version = "0.1.9", optional = true }
|
2022-05-10 12:06:32 +00:00
|
|
|
opentelemetry-otlp = { version = "0.10.0", optional = true }
|
2023-06-15 09:37:05 +00:00
|
|
|
pict-rs = { version = "0.4.0-rc.3", optional = true }
|
2023-01-20 17:46:49 +00:00
|
|
|
tokio.workspace = true
|
2023-05-29 21:14:00 +00:00
|
|
|
actix-cors = "0.6.4"
|
2023-06-26 08:25:38 +00:00
|
|
|
rustls = { workspace = true }
|
|
|
|
futures-util = { workspace = true }
|
|
|
|
tokio-postgres = { workspace = true }
|
|
|
|
tokio-postgres-rustls = { workspace = true }
|
|
|
|
|