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