]> Untitled Git - lemmy.git/blob - crates/api_common/Cargo.toml
e7f6c07c3f14942a0af43a7796b8e21ada92577c
[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 rust-version = "1.57"
10
11 [lib]
12 name = "lemmy_api_common"
13 path = "src/lib.rs"
14 doctest = false
15
16 [features]
17 full = ["diesel", "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"]
20
21 [dependencies]
22 lemmy_db_views = { version = "=0.16.5", path = "../db_views" }
23 lemmy_db_views_moderator = { version = "=0.16.5", path = "../db_views_moderator" }
24 lemmy_db_views_actor = { version = "=0.16.5", path = "../db_views_actor" }
25 lemmy_db_schema = { version = "=0.16.5", path = "../db_schema", default-features = false }
26 lemmy_utils = { version = "=0.16.5", path = "../utils", optional = true }
27 serde = { version = "1.0.145", features = ["derive"] }
28 url = "2.3.1"
29 actix-web = { version = "4.2.1", default-features = false, features = ["cookies"], optional = true }
30 chrono = { version = "0.4.22", features = ["serde"], optional = true }
31 diesel = { version = "2.0.0", optional = true }
32 tracing = { version = "0.1.36", optional = true }
33 rosetta-i18n = { version = "0.1.2", optional = true }
34 percent-encoding = { version = "2.2.0", optional = true }
35 encoding = { version = "0.2.33", optional = true }
36 reqwest-middleware = { version = "0.1.6", optional = true }
37 webpage = { version = "1.4.0", default-features = false, features = ["serde"], optional = true }
38
39 [dev-dependencies]
40 actix-rt = { version = "2.7.0", default-features = false }
41 reqwest = { version = "0.11.12", features = ["json"] }