]> Untitled Git - lemmy.git/blob - Cargo.toml
Adding typescript generation for API. Fixes #2824 (#2827)
[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 serde_with = "1.14.0"
68 actix-web = { version = "4.2.1", default-features = false, features = ["macros", "rustls"] }
69 tracing = "0.1.36"
70 tracing-actix-web = { version = "0.6.1", default-features = false }
71 tracing-error = "0.2.0"
72 tracing-log = "0.1.3"
73 tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
74 url = { version = "2.3.1", features = ["serde"] }
75 url_serde = "0.2.0"
76 reqwest = { version = "0.11.12", features = ["json", "blocking"] }
77 reqwest-middleware = "0.2.0"
78 reqwest-tracing = "0.4.0"
79 clokwerk = "0.3.5"
80 doku = { version = "0.20.0", features = ["url-2"] }
81 reqwest-retry = "0.2.0"
82 bcrypt = "0.13.0"
83 chrono = { version = "0.4.22", features = ["serde"], default-features = false }
84 serde_json = { version = "1.0.87", features = ["preserve_order"] }
85 base64 = "0.13.1"
86 uuid = { version = "1.2.1", features = ["serde", "v4"] }
87 async-trait = "0.1.58"
88 captcha = "0.0.9"
89 anyhow = "1.0.66"
90 diesel_ltree = "0.3.0"
91 typed-builder = "0.10.0"
92 serial_test = "0.9.0"
93 tokio = "1.21.2"
94 sha2 = "0.10.6"
95 regex = "1.6.0"
96 once_cell = "1.15.0"
97 diesel-derive-newtype = "2.0.0-rc.0"
98 diesel-derive-enum = {version = "2.0.1", features = ["postgres"] }
99 strum = "0.24.1"
100 strum_macros = "0.24.3"
101 itertools = "0.10.5"
102 futures = "0.3.25"
103 http = "0.2.8"
104 actix-rt = { version = "2.7.0", default-features = false }
105 percent-encoding = "2.2.0"
106 rosetta-i18n = "0.1.2"
107 rand = "0.8.5"
108 opentelemetry = { version = "0.17.0", features = ["rt-tokio"] }
109 tracing-opentelemetry = { version = "0.17.2" }
110 actix = "0.13"
111 ts-rs = { version = "6.2", features = ["serde-compat", "format", "chrono-impl"] }
112
113 [dependencies]
114 lemmy_api = { workspace = true }
115 lemmy_api_crud = { workspace = true }
116 lemmy_apub = { workspace = true }
117 lemmy_utils = { workspace = true }
118 lemmy_db_schema = { workspace = true }
119 lemmy_api_common = { workspace = true }
120 lemmy_routes = { workspace = true }
121 activitypub_federation = { workspace = true }
122 diesel = { workspace = true }
123 diesel-async = { workspace = true }
124 serde = { workspace = true }
125 actix-web = { workspace = true }
126 tracing = { workspace = true }
127 tracing-actix-web = { workspace = true }
128 tracing-error = { workspace = true }
129 tracing-log = { workspace = true }
130 tracing-subscriber = { workspace = true }
131 url = { workspace = true }
132 reqwest = { workspace = true }
133 reqwest-middleware = { workspace = true }
134 reqwest-tracing = { workspace = true }
135 clokwerk = { workspace = true }
136 doku = { workspace = true }
137 reqwest-retry = { workspace = true }
138 serde_json = { workspace = true }
139 futures = { workspace = true }
140 actix = { workspace = true }
141 tracing-opentelemetry = { workspace = true, optional = true }
142 opentelemetry = { workspace = true, optional = true }
143 actix-web-actors = { version = "4.1.0", default-features = false }
144 actix-rt = "2.6"
145 console-subscriber = { version = "0.1.8", optional = true }
146 opentelemetry-otlp = { version = "0.10.0", optional = true }
147 pict-rs = { version = "0.4.0-beta.9", optional = true }
148 tokio.workspace = true