]> Untitled Git - lemmy.git/blob - crates/api_common/Cargo.toml
Adding typescript generation for API. Fixes #2824 (#2827)
[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 = ["tracing", "rosetta-i18n", "chrono", "actix-web", "lemmy_utils",
18     "lemmy_db_views/full", "lemmy_db_views_actor/full", "lemmy_db_views_moderator/full",
19     "percent-encoding", "encoding", "reqwest-middleware", "webpage", "ts-rs"]
20
21 [dependencies]
22 lemmy_db_views = { workspace = true }
23 lemmy_db_views_moderator = { workspace = true }
24 lemmy_db_views_actor = { workspace = true }
25 lemmy_db_schema = { workspace = true, default-features = false }
26 lemmy_utils = { workspace = true, optional = true }
27 serde = { workspace = true }
28 serde_with = { workspace = true }
29 url = { workspace = true }
30 actix-web = { workspace = true, features = ["cookies"], optional = true }
31 chrono = { workspace = true, optional = true }
32 tracing = { workspace = true, optional = true }
33 reqwest-middleware = { workspace = true, optional = true }
34 regex = { workspace = true }
35 rosetta-i18n = { workspace = true, optional = true }
36 percent-encoding = { workspace = true, optional = true }
37 webpage = { version = "1.4.0", default-features = false, features = ["serde"], optional = true }
38 encoding = { version = "0.2.33", optional = true }
39 rand = { workspace = true }
40 serde_json = { workspace = true }
41 anyhow = { workspace = true }
42 strum = { workspace = true }
43 strum_macros = { workspace = true }
44 actix = { workspace = true }
45 futures = { workspace = true }
46 uuid = { workspace = true }
47 actix-rt = { workspace = true }
48 reqwest = { workspace = true }
49 ts-rs = { workspace = true, optional = true }