]> Untitled Git - lemmy.git/blob - crates/api_common/Cargo.toml
9b34e63abf55516efe43a93c3338b52be7b2d9fa
[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
10 [lib]
11 name = "lemmy_api_common"
12 path = "src/lib.rs"
13 doctest = false
14
15 [features]
16 full = ["diesel", "tracing", "rosetta-i18n", "chrono", "actix-web", "lemmy_utils",
17     "lemmy_db_views/full", "lemmy_db_views_actor/full", "lemmy_db_views_moderator/full",
18     "percent-encoding", "encoding", "reqwest-middleware", "webpage"]
19
20 [dependencies]
21 lemmy_db_views = { workspace = true }
22 lemmy_db_views_moderator = { workspace = true }
23 lemmy_db_views_actor = { workspace = true }
24 lemmy_db_schema = { workspace = true, default-features = false }
25 lemmy_utils = { workspace = true, optional = true }
26 serde = { workspace = true }
27 url = { workspace = true }
28 actix-web = { workspace = true, features = ["cookies"], optional = true }
29 chrono = { workspace = true, optional = true }
30 diesel = { workspace = true, optional = true }
31 tracing = { workspace = true, optional = true }
32 reqwest-middleware = { workspace = true, optional = true }
33 regex = { workspace = true }
34 rosetta-i18n = { workspace = true, optional = true }
35 percent-encoding = { workspace = true, optional = true }
36 webpage = { version = "1.4.0", default-features = false, features = ["serde"], optional = true }
37 encoding = { version = "0.2.33", optional = true }
38
39 [dev-dependencies]
40 actix-rt = { workspace = true }
41 reqwest = { workspace = true }