]> Untitled Git - lemmy.git/blob - crates/api_common/Cargo.toml
Sanitize html (#3708)
[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   "activitypub_federation",
26   "percent-encoding",
27   "encoding",
28   "reqwest-middleware",
29   "webpage",
30   "ts-rs",
31   "tokio",
32   "uuid",
33   "reqwest",
34   "actix-web",
35   "futures",
36   "once_cell",
37   "ammonia",
38 ]
39
40 [dependencies]
41 lemmy_db_views = { workspace = true }
42 lemmy_db_views_moderator = { workspace = true }
43 lemmy_db_views_actor = { workspace = true }
44 lemmy_db_schema = { workspace = true }
45 lemmy_utils = { workspace = true, optional = true }
46 activitypub_federation = { workspace = true, optional = true }
47 serde = { workspace = true }
48 serde_with = { workspace = true }
49 url = { workspace = true }
50 chrono = { workspace = true, optional = true }
51 tracing = { workspace = true, optional = true }
52 reqwest-middleware = { workspace = true, optional = true }
53 regex = { workspace = true }
54 rosetta-i18n = { workspace = true, optional = true }
55 percent-encoding = { workspace = true, optional = true }
56 webpage = { version = "1.6", default-features = false, features = [
57   "serde",
58 ], optional = true }
59 encoding = { version = "0.2.33", optional = true }
60 anyhow = { workspace = true }
61 futures = { workspace = true, optional = true }
62 uuid = { workspace = true, optional = true }
63 tokio = { workspace = true, optional = true }
64 reqwest = { workspace = true, optional = true }
65 ts-rs = { workspace = true, optional = true }
66 once_cell = { workspace = true, optional = true }
67 actix-web = { workspace = true, optional = true }
68 # necessary for wasmt compilation
69 getrandom = { version = "0.2.10", features = ["js"] }
70 ammonia = { version = "3.3.0", optional = true }