]> Untitled Git - lemmy.git/blob - Cargo.toml
Remove not needed anymore http-signature-normalization-actix dependency (#3458)
[lemmy.git] / Cargo.toml
1 [workspace.package]
2 version = "0.18.1-rc.9"
3 edition = "2021"
4 description = "A link aggregator for the fediverse"
5 license = "AGPL-3.0"
6 homepage = "https://join-lemmy.org/"
7 documentation = "https://join-lemmy.org/docs/en/index.html"
8 repository = "https://github.com/LemmyNet/lemmy"
9
10 [package]
11 name = "lemmy_server"
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
19
20 [lib]
21 doctest = false
22
23 [profile.release]
24 debug = 0
25 lto = "thin"
26
27 [features]
28 embed-pictrs = ["pict-rs"]
29 console = ["console-subscriber", "opentelemetry", "opentelemetry-otlp", "tracing-opentelemetry", "reqwest-tracing/opentelemetry_0_16"]
30 default = []
31
32 [workspace]
33 members = [
34     "crates/api",
35     "crates/api_crud",
36     "crates/api_common",
37     "crates/apub",
38     "crates/utils",
39     "crates/db_schema",
40     "crates/db_views",
41     "crates/db_views_actor",
42     "crates/db_views_actor",
43     "crates/routes"
44 ]
45
46 [workspace.dependencies]
47 lemmy_api = { version = "=0.18.1-rc.9", path = "./crates/api" }
48 lemmy_api_crud = { version = "=0.18.1-rc.9", path = "./crates/api_crud" }
49 lemmy_apub = { version = "=0.18.1-rc.9", path = "./crates/apub" }
50 lemmy_utils = { version = "=0.18.1-rc.9", path = "./crates/utils" }
51 lemmy_db_schema = { version = "=0.18.1-rc.9", path = "./crates/db_schema" }
52 lemmy_api_common = { version = "=0.18.1-rc.9", path = "./crates/api_common" }
53 lemmy_routes = { version = "=0.18.1-rc.9", path = "./crates/routes" }
54 lemmy_db_views = { version = "=0.18.1-rc.9", path = "./crates/db_views" }
55 lemmy_db_views_actor = { version = "=0.18.1-rc.9", path = "./crates/db_views_actor" }
56 lemmy_db_views_moderator = { version = "=0.18.1-rc.9", path = "./crates/db_views_moderator" }
57 activitypub_federation = { version = "0.4.4", default-features = false, features = ["actix-web"] }
58 diesel = "2.1.0"
59 diesel_migrations = "2.1.0"
60 diesel-async = "0.3.1"
61 serde = { version = "1.0.164", features = ["derive"] }
62 serde_with = "1.14.0"
63 actix-web = { version = "4.3.1", default-features = false, features = ["macros", "rustls", "compress-brotli", "compress-gzip", "compress-zstd"] }
64 tracing = "0.1.37"
65 tracing-actix-web = { version = "0.6.2", default-features = false }
66 tracing-error = "0.2.0"
67 tracing-log = "0.1.3"
68 tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
69 url = { version = "2.4.0", features = ["serde"] }
70 url_serde = "0.2.0"
71 reqwest = { version = "0.11.18", features = ["json", "blocking"] }
72 reqwest-middleware = "0.2.2"
73 reqwest-tracing = "0.4.4"
74 clokwerk = "0.3.5"
75 doku = { version = "0.21.1", features = ["url-2"] }
76 bcrypt = "0.13.0"
77 chrono = { version = "0.4.26", features = ["serde"], default-features = false }
78 serde_json = { version = "1.0.96", features = ["preserve_order"] }
79 base64 = "0.13.1"
80 uuid = { version = "1.3.4", features = ["serde", "v4"] }
81 async-trait = "0.1.68"
82 captcha = "0.0.9"
83 anyhow = { version = "1.0.71", features = ["backtrace"] } # backtrace is on by default on nightly, but not stable rust
84 diesel_ltree = "0.3.0"
85 typed-builder = "0.10.0"
86 serial_test = "0.9.0"
87 tokio = { version = "1.28.2", features = ["full"] }
88 sha2 = "0.10.6"
89 regex = "1.8.4"
90 once_cell = "1.18.0"
91 diesel-derive-newtype = "2.1.0"
92 diesel-derive-enum = {version = "2.1.0", features = ["postgres"] }
93 strum = "0.24.1"
94 strum_macros = "0.24.3"
95 itertools = "0.10.5"
96 futures = "0.3.28"
97 http = "0.2.9"
98 percent-encoding = "2.3.0"
99 rosetta-i18n = "0.1.2"
100 rand = "0.8.5"
101 opentelemetry = { version = "0.17.0", features = ["rt-tokio"] }
102 tracing-opentelemetry = { version = "0.17.4" }
103 ts-rs = { version = "6.2", features = ["serde-compat", "format", "chrono-impl"] }
104 rustls = { version ="0.21.2", features = ["dangerous_configuration"]}
105 futures-util = "0.3.28"
106 tokio-postgres = "0.7.8"
107 tokio-postgres-rustls = "0.10.0"
108
109 [dependencies]
110 lemmy_api = { workspace = true }
111 lemmy_api_crud = { workspace = true }
112 lemmy_apub = { workspace = true }
113 lemmy_utils = { workspace = true }
114 lemmy_db_schema = { workspace = true }
115 lemmy_api_common = { workspace = true }
116 lemmy_routes = { workspace = true }
117 activitypub_federation = { workspace = true }
118 diesel = { workspace = true }
119 diesel-async = { workspace = true }
120 serde = { workspace = true }
121 actix-web = { workspace = true }
122 tracing = { workspace = true }
123 tracing-actix-web = { workspace = true }
124 tracing-error = { workspace = true }
125 tracing-log = { workspace = true }
126 tracing-subscriber = { workspace = true }
127 url = { workspace = true }
128 reqwest = { workspace = true }
129 reqwest-middleware = { workspace = true }
130 reqwest-tracing = { workspace = true }
131 clokwerk = { workspace = true }
132 doku = { workspace = true }
133 serde_json = { workspace = true }
134 tracing-opentelemetry = { workspace = true, optional = true }
135 opentelemetry = { workspace = true, optional = true }
136 console-subscriber = { version = "0.1.9", optional = true }
137 opentelemetry-otlp = { version = "0.10.0", optional = true }
138 pict-rs = { version = "0.4.0-rc.3", optional = true }
139 tokio.workspace = true
140 actix-cors = "0.6.4"
141 rustls = { workspace = true }
142 futures-util = { workspace = true }
143 tokio-postgres = { workspace = true }
144 tokio-postgres-rustls = { workspace = true }
145 chrono = { workspace = true }