[package]
name = "lemmy_db_views"
-version = "0.14.0"
-edition = "2018"
-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]
doctest = false
+[features]
+full = [
+ "lemmy_db_schema/full",
+ "diesel",
+ "diesel-async",
+ "diesel_ltree",
+ "tracing",
+ "ts-rs",
+]
+
[dependencies]
-lemmy_db_schema = { version = "=0.14.0", path = "../db_schema" }
-diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"] }
-serde = { version = "1.0.130", features = ["derive"] }
-log = "0.4.14"
-url = "2.2.2"
+lemmy_db_schema = { workspace = true }
+diesel = { workspace = true, optional = true }
+diesel-async = { workspace = true, optional = true }
+diesel_ltree = { workspace = true, optional = true }
+serde = { workspace = true }
+serde_with = { workspace = true }
+tracing = { workspace = true, optional = true }
+ts-rs = { workspace = true, optional = true }
[dev-dependencies]
-serial_test = "0.5.1"
+serial_test = { workspace = true }
+tokio = { workspace = true }