4 description = "A link aggregator for the fediverse"
6 homepage = "https://join-lemmy.org/"
7 documentation = "https://join-lemmy.org/docs/en/index.html"
8 repository = "https://github.com/LemmyNet/lemmy"
12 version.workspace = true
13 edition.workspace = true
14 description.workspace = true
15 license.workspace = true
16 homepage.workspace = true
17 documentation.workspace = true
18 repository.workspace = true
27 # This profile significantly speeds up build time. If debug info is needed you can comment the line
28 # out temporarily, but make sure to leave this in the main branch.
33 embed-pictrs = ["pict-rs"]
34 console = ["console-subscriber", "opentelemetry", "opentelemetry-otlp", "tracing-opentelemetry", "reqwest-tracing/opentelemetry_0_16"]
35 json-log = ["tracing-subscriber/json"]
36 prometheus-metrics = ["prometheus", "actix-web-prom"]
48 "crates/db_views_actor",
49 "crates/db_views_actor",
53 [workspace.dependencies]
54 lemmy_api = { version = "=0.18.1", path = "./crates/api" }
55 lemmy_api_crud = { version = "=0.18.1", path = "./crates/api_crud" }
56 lemmy_apub = { version = "=0.18.1", path = "./crates/apub" }
57 lemmy_utils = { version = "=0.18.1", path = "./crates/utils" }
58 lemmy_db_schema = { version = "=0.18.1", path = "./crates/db_schema" }
59 lemmy_api_common = { version = "=0.18.1", path = "./crates/api_common" }
60 lemmy_routes = { version = "=0.18.1", path = "./crates/routes" }
61 lemmy_db_views = { version = "=0.18.1", path = "./crates/db_views" }
62 lemmy_db_views_actor = { version = "=0.18.1", path = "./crates/db_views_actor" }
63 lemmy_db_views_moderator = { version = "=0.18.1", path = "./crates/db_views_moderator" }
64 activitypub_federation = { version = "0.4.5", default-features = false, features = ["actix-web"] }
66 diesel_migrations = "2.1.0"
67 diesel-async = "0.3.1"
68 serde = { version = "1.0.167", features = ["derive"] }
70 actix-web = { version = "4.3.1", default-features = false, features = ["macros", "rustls", "compress-brotli", "compress-gzip", "compress-zstd"] }
72 tracing-actix-web = { version = "0.7.5", default-features = false }
73 tracing-error = "0.2.0"
75 tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
76 url = { version = "2.4.0", features = ["serde"] }
78 reqwest = { version = "0.11.18", features = ["json", "blocking"] }
79 reqwest-middleware = "0.2.2"
80 reqwest-tracing = "0.4.5"
82 doku = { version = "0.21.1", features = ["url-2"] }
84 chrono = { version = "0.4.26", features = ["serde"], default-features = false }
85 serde_json = { version = "1.0.100", features = ["preserve_order"] }
87 uuid = { version = "1.4.0", features = ["serde", "v4"] }
88 async-trait = "0.1.71"
90 anyhow = { version = "1.0.71", features = ["backtrace"] } # backtrace is on by default on nightly, but not stable rust
91 diesel_ltree = "0.3.0"
92 typed-builder = "0.15.0"
94 tokio = { version = "1.29.1", features = ["full"] }
98 diesel-derive-newtype = "2.1.0"
99 diesel-derive-enum = {version = "2.1.0", features = ["postgres"] }
101 strum_macros = "0.25.1"
105 percent-encoding = "2.3.0"
106 rosetta-i18n = "0.1.3"
108 opentelemetry = { version = "0.19.0", features = ["rt-tokio"] }
109 tracing-opentelemetry = { version = "0.19.0" }
110 ts-rs = { version = "6.2", features = ["serde-compat", "chrono-impl"] }
111 rustls = { version ="0.21.3", features = ["dangerous_configuration"]}
112 futures-util = "0.3.28"
113 tokio-postgres = "0.7.8"
114 tokio-postgres-rustls = "0.10.0"
117 lemmy_api = { workspace = true }
118 lemmy_api_crud = { workspace = true }
119 lemmy_apub = { workspace = true }
120 lemmy_utils = { workspace = true }
121 lemmy_db_schema = { workspace = true }
122 lemmy_api_common = { workspace = true }
123 lemmy_routes = { workspace = true }
124 activitypub_federation = { workspace = true }
125 diesel = { workspace = true }
126 diesel-async = { workspace = true }
127 serde = { workspace = true }
128 actix-web = { workspace = true }
129 tracing = { workspace = true }
130 tracing-actix-web = { workspace = true }
131 tracing-error = { workspace = true }
132 tracing-log = { workspace = true }
133 tracing-subscriber = { workspace = true }
134 url = { workspace = true }
135 reqwest = { workspace = true }
136 reqwest-middleware = { workspace = true }
137 reqwest-tracing = { workspace = true }
138 clokwerk = { workspace = true }
139 doku = { workspace = true }
140 serde_json = { workspace = true }
141 tracing-opentelemetry = { workspace = true, optional = true }
142 opentelemetry = { workspace = true, optional = true }
143 console-subscriber = { version = "0.1.10", optional = true }
144 opentelemetry-otlp = { version = "0.12.0", optional = true }
145 pict-rs = { version = "0.4.0-rc.12", optional = true }
146 tokio.workspace = true
148 rustls = { workspace = true }
149 futures-util = { workspace = true }
150 tokio-postgres = { workspace = true }
151 tokio-postgres-rustls = { workspace = true }
152 chrono = { workspace = true }
153 prometheus = { version = "0.13.3", features = ["process"], optional = true }
154 actix-web-prom = { version = "0.6.0", optional = true }