[package]
name = "lemmy_db_views_moderator"
-version = "0.12.0"
-edition = "2018"
-description = "A link aggregator for the fediverse"
-license = "AGPL-3.0"
+version.workspace = true
+edition.workspace = true
+description.workspace = true
+license.workspace = true
+homepage.workspace = true
+documentation.workspace = true
+repository.workspace = true
[lib]
doctest = false
+[features]
+full = ["lemmy_db_schema/full", "diesel", "diesel-async", "ts-rs"]
+
[dependencies]
-lemmy_db_queries = { version = "=0.12.0", path = "../db_queries" }
-lemmy_db_schema = { version = "=0.12.0", path = "../db_schema" }
-diesel = { version = "1.4.7", features = ["postgres","chrono","r2d2","serde_json"] }
-serde = { version = "1.0.129", features = ["derive"] }
+lemmy_db_schema = { workspace = true }
+diesel = { workspace = true, features = [
+ "postgres",
+ "chrono",
+ "serde_json",
+], optional = true }
+diesel-async = { workspace = true, features = [
+ "postgres",
+ "deadpool",
+], optional = true }
+serde = { workspace = true }
+serde_with = { workspace = true }
+ts-rs = { workspace = true, optional = true }