]> Untitled Git - lemmy.git/blob - crates/api_common/Cargo.toml
4b10207ffaadb0ff64b4af2579db84b2fe4045b0
[lemmy.git] / crates / api_common / Cargo.toml
1 [package]
2 name = "lemmy_api_common"
3 version = "0.16.5"
4 edition = "2021"
5 description = "A link aggregator for the fediverse"
6 license = "AGPL-3.0"
7 homepage = "https://join-lemmy.org/"
8 documentation = "https://join-lemmy.org/docs/en/index.html"
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 = { version = "=0.16.5", path = "../db_views" }
22 lemmy_db_views_moderator = { version = "=0.16.5", path = "../db_views_moderator" }
23 lemmy_db_views_actor = { version = "=0.16.5", path = "../db_views_actor" }
24 lemmy_db_schema = { version = "=0.16.5", path = "../db_schema", default-features = false }
25 lemmy_utils = { version = "=0.16.5", path = "../utils", optional = true }
26 serde = { version = "1.0.136", features = ["derive"] }
27 url = "2.2.2"
28 actix-web = { version = "4.0.1", default-features = false, features = ["cookies"], optional = true }
29 chrono = { version = "0.4.19", features = ["serde"], optional = true }
30 diesel = { version = "1.4.8", optional = true }
31 tracing = { version = "0.1.32", optional = true }
32 rosetta-i18n = { version = "0.1.2", optional = true }
33 percent-encoding = { version = "2.1.0", optional = true }
34 encoding = { version = "0.2.33", optional = true }
35 reqwest-middleware = { version = "0.1.5", optional = true }
36 webpage = { version = "1.4.0", default-features = false, features = ["serde"], optional = true }
37
38 [dev-dependencies]
39 actix-rt = { version = "2.7.0", default-features = false }
40 reqwest = { version = "0.11.10", features = ["json"] }