[package]
name = "lemmy_db_views_actor"
version.workspace = true
edition.workspace = true
description.workspace = true
license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true

[lib]
doctest = false

[lints]
workspace = true

[features]
full = [
  "lemmy_db_schema/full",
  "lemmy_utils/full",
  "diesel",
  "diesel-async",
  "ts-rs",
]

[dependencies]
lemmy_db_schema = { workspace = true }
diesel = { workspace = true, features = [
  "chrono",
  "postgres",
  "serde_json",
], optional = true }
diesel-async = { workspace = true, features = [
  "deadpool",
  "postgres",
], optional = true }
serde = { workspace = true }
serde_with = { workspace = true }
ts-rs = { workspace = true, optional = true }
chrono.workspace = true
strum = { workspace = true }
lemmy_utils = { workspace = true, optional = true }

[dev-dependencies]
serial_test = { workspace = true }
tokio = { workspace = true }
pretty_assertions = { workspace = true }
url.workspace = true
lemmy_db_views = { workspace = true, features = ["full"] }