]> Untitled Git - lemmy.git/blobdiff - crates/api/Cargo.toml
Rewrite some API handlers to remove Perform trait (#3735)
[lemmy.git] / crates / api / Cargo.toml
index 4752bfa4e48d7662e9375cbe9a89ae922311d886..17f40d57d3592af43bb67bb3f753a2bc0e509b6d 100644 (file)
@@ -1,11 +1,12 @@
 [package]
 name = "lemmy_api"
-version = "0.16.3"
-edition = "2021"
-description = "A link aggregator for the fediverse"
-license = "AGPL-3.0"
-homepage = "https://join-lemmy.org/"
-documentation = "https://join-lemmy.org/docs/en/index.html"
+version.workspace = true
+edition.workspace = true
+description.workspace = true
+license.workspace = true
+homepage.workspace = true
+documentation.workspace = true
+repository.workspace = true
 
 [lib]
 name = "lemmy_api"
@@ -13,24 +14,25 @@ path = "src/lib.rs"
 doctest = false
 
 [dependencies]
-lemmy_apub = { version = "=0.16.3", path = "../apub" }
-lemmy_apub_lib = { version = "=0.16.3", path = "../apub_lib" }
-lemmy_utils = { version = "=0.16.3", path = "../utils" }
-lemmy_db_schema = { version = "=0.16.3", path = "../db_schema", features = ["full"] }
-lemmy_db_views = { version = "=0.16.3", path = "../db_views", features = ["full"] }
-lemmy_db_views_moderator = { version = "=0.16.3", path = "../db_views_moderator", features = ["full"] }
-lemmy_db_views_actor = { version = "=0.16.3", path = "../db_views_actor", features = ["full"] }
-lemmy_api_common = { version = "=0.16.3", path = "../api_common", features = ["full"] }
-lemmy_websocket = { version = "=0.16.3", path = "../websocket" }
-diesel = "1.4.8"
-bcrypt = "0.12.1"
-chrono = { version = "0.4.19", features = ["serde"], default-features = false }
-serde_json = { version = "1.0.79", features = ["preserve_order"] }
-serde = { version = "1.0.136", features = ["derive"] }
-actix-web = { version = "4.0.1", default-features = false }
-base64 = "0.13.0"
-uuid = { version = "0.8.2", features = ["serde", "v4"] }
-async-trait = "0.1.53"
-captcha = "0.0.9"
-anyhow = "1.0.56"
-tracing = "0.1.32"
+lemmy_utils = { workspace = true }
+lemmy_db_schema = { workspace = true, features = ["full"] }
+lemmy_db_views = { workspace = true, features = ["full"] }
+lemmy_db_views_moderator = { workspace = true, features = ["full"] }
+lemmy_db_views_actor = { workspace = true, features = ["full"] }
+lemmy_api_common = { workspace = true, features = ["full"] }
+activitypub_federation = { workspace = true }
+bcrypt = { workspace = true }
+serde = { workspace = true }
+actix-web = { workspace = true }
+base64 = { workspace = true }
+uuid = { workspace = true }
+async-trait = { workspace = true }
+captcha = { workspace = true }
+anyhow = { workspace = true }
+tracing = { workspace = true }
+chrono = { workspace = true }
+wav = "1.0.0"
+
+[dev-dependencies]
+serial_test = { workspace = true }
+tokio = { workspace = true }