]> Untitled Git - lemmy.git/blob - Cargo.toml
Adding diesel enums for SortType and ListingType (#2808)
[lemmy.git] / Cargo.toml
1 [workspace.package]
2 version = "0.17.1"
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.17.1", path = "./crates/api" }
53 lemmy_api_crud = { version = "=0.17.1", path = "./crates/api_crud" }
54 lemmy_apub = { version = "=0.17.1", path = "./crates/apub" }
55 lemmy_utils = { version = "=0.17.1", path = "./crates/utils" }
56 lemmy_db_schema = { version = "=0.17.1", path = "./crates/db_schema" }
57 lemmy_api_common = { version = "=0.17.1", path = "./crates/api_common" }
58 lemmy_routes = { version = "=0.17.1", path = "./crates/routes" }
59 lemmy_db_views = { version = "=0.17.1", path = "./crates/db_views" }
60 lemmy_db_views_actor = { version = "=0.17.1", path = "./crates/db_views_actor" }
61 lemmy_db_views_moderator = { version = "=0.17.1", path = "./crates/db_views_moderator" }
62 activitypub_federation = { version = "0.4.0", default-features = false, features = ["actix-web"] }
63 diesel = "2.0.2"
64 diesel_migrations = "2.0.0"
65 diesel-async = "0.1.1"
66 serde = { version = "1.0.147", features = ["derive"] }
67 actix-web = { version = "4.2.1", default-features = false, features = ["macros", "rustls"] }
68 tracing = "0.1.36"
69 tracing-actix-web = { version = "0.6.1", default-features = false }
70 tracing-error = "0.2.0"
71 tracing-log = "0.1.3"
72 tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
73 url = { version = "2.3.1", features = ["serde"] }
74 reqwest = { version = "0.11.12", features = ["json", "blocking"] }
75 reqwest-middleware = "0.2.0"
76 reqwest-tracing = "0.4.0"
77 clokwerk = "0.3.5"
78 doku = { version = "0.20.0", features = ["url-2"] }
79 reqwest-retry = "0.2.0"
80 bcrypt = "0.13.0"
81 chrono = { version = "0.4.22", features = ["serde"], default-features = false }
82 serde_json = { version = "1.0.87", features = ["preserve_order"] }
83 base64 = "0.13.1"
84 uuid = { version = "1.2.1", features = ["serde", "v4"] }
85 async-trait = "0.1.58"
86 captcha = "0.0.9"
87 anyhow = "1.0.66"
88 diesel_ltree = "0.3.0"
89 typed-builder = "0.10.0"
90 serial_test = "0.9.0"
91 tokio = "1.21.2"
92 sha2 = "0.10.6"
93 regex = "1.6.0"
94 once_cell = "1.15.0"
95 diesel-derive-newtype = "2.0.0-rc.0"
96 diesel-derive-enum = {version = "2.0.1", features = ["postgres"] }
97 strum = "0.24.1"
98 strum_macros = "0.24.3"
99 itertools = "0.10.5"
100 futures = "0.3.25"
101 http = "0.2.8"
102 actix-rt = { version = "2.7.0", default-features = false }
103 percent-encoding = "2.2.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.2" }
108 actix = "0.13"
109
110 [dependencies]
111 lemmy_api = { workspace = true }
112 lemmy_api_crud = { workspace = true }
113 lemmy_apub = { workspace = true }
114 lemmy_utils = { workspace = true }
115 lemmy_db_schema = { workspace = true }
116 lemmy_api_common = { workspace = true }
117 lemmy_routes = { workspace = true }
118 activitypub_federation = { workspace = true }
119 diesel = { workspace = true }
120 diesel-async = { workspace = true }
121 serde = { workspace = true }
122 actix-web = { workspace = true }
123 tracing = { workspace = true }
124 tracing-actix-web = { workspace = true }
125 tracing-error = { workspace = true }
126 tracing-log = { workspace = true }
127 tracing-subscriber = { workspace = true }
128 url = { workspace = true }
129 reqwest = { workspace = true }
130 reqwest-middleware = { workspace = true }
131 reqwest-tracing = { workspace = true }
132 clokwerk = { workspace = true }
133 doku = { workspace = true }
134 reqwest-retry = { workspace = true }
135 serde_json = { workspace = true }
136 futures = { workspace = true }
137 actix = { workspace = true }
138 tracing-opentelemetry = { workspace = true, optional = true }
139 opentelemetry = { workspace = true, optional = true }
140 actix-web-actors = { version = "4.1.0", default-features = false }
141 actix-rt = "2.6"
142 console-subscriber = { version = "0.1.8", optional = true }
143 opentelemetry-otlp = { version = "0.10.0", optional = true }
144 pict-rs = { version = "0.4.0-beta.9", optional = true }
145 tokio.workspace = true