]> Untitled Git - lemmy.git/blob - crates/api_common/Cargo.toml
bef5ab285ff1b32ae4f5d216f4b31a70bd99a203
[lemmy.git] / crates / api_common / Cargo.toml
1 [package]
2 name = "lemmy_api_common"
3 version.workspace = true
4 edition.workspace = true
5 description.workspace = true
6 license.workspace = true
7 homepage.workspace = true
8 documentation.workspace = true
9 repository.workspace = true
10
11 [lib]
12 name = "lemmy_api_common"
13 path = "src/lib.rs"
14 doctest = false
15
16 [features]
17 full = [
18   "tracing",
19   "rosetta-i18n",
20   "chrono",
21   "lemmy_utils",
22   "lemmy_db_views/full",
23   "lemmy_db_views_actor/full",
24   "lemmy_db_views_moderator/full",
25   "percent-encoding",
26   "encoding",
27   "reqwest-middleware",
28   "webpage",
29   "ts-rs",
30   "tokio",
31   "uuid",
32   "reqwest",
33   "actix-web",
34   "futures",
35 ]
36
37 [dependencies]
38 lemmy_db_views = { workspace = true }
39 lemmy_db_views_moderator = { workspace = true }
40 lemmy_db_views_actor = { workspace = true }
41 lemmy_db_schema = { workspace = true }
42 lemmy_utils = { workspace = true, optional = true }
43 serde = { workspace = true }
44 serde_with = { workspace = true }
45 url = { workspace = true }
46 chrono = { workspace = true, optional = true }
47 tracing = { workspace = true, optional = true }
48 reqwest-middleware = { workspace = true, optional = true }
49 regex = { workspace = true }
50 rosetta-i18n = { workspace = true, optional = true }
51 percent-encoding = { workspace = true, optional = true }
52 webpage = { version = "1.6", default-features = false, features = [
53   "serde",
54 ], optional = true }
55 encoding = { version = "0.2.33", optional = true }
56 anyhow = { workspace = true }
57 futures = { workspace = true, optional = true }
58 uuid = { workspace = true, optional = true }
59 tokio = { workspace = true, optional = true }
60 reqwest = { workspace = true, optional = true }
61 ts-rs = { workspace = true, optional = true }
62 actix-web = { workspace = true, optional = true }
63 getrandom = { version = "0.2.10", features = ["js"] }