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

[lib]
doctest = false

[lints]
workspace = true

[features]
full = [
  "lemmy_utils",
  "diesel",
  "diesel-async",
  "i-love-jesus",
  "lemmy_db_schema/full",
  "lemmy_db_schema_file/full",
  "lemmy_db_views_community_moderator/full",
  "lemmy_diesel_utils/full",
  "lemmy_db_views_community/full",
]
ts-rs = [
  "dep:ts-rs",
  "lemmy_db_schema/ts-rs",
  "lemmy_db_views_community_moderator/ts-rs",
  "lemmy_db_views_community/ts-rs",
]

[dependencies]
lemmy_db_schema = { workspace = true }
lemmy_utils = { workspace = true, optional = true }
lemmy_db_schema_file = { workspace = true }
lemmy_db_views_community_moderator = { workspace = true }
lemmy_diesel_utils = { workspace = true }
lemmy_db_views_community = { workspace = true }
diesel = { workspace = true, optional = true }
diesel-async = { workspace = true, optional = true }
serde = { workspace = true }
serde_with = { workspace = true }
ts-rs = { workspace = true, optional = true }
chrono = { workspace = true }
i-love-jesus = { workspace = true, optional = true }

[dev-dependencies]
serial_test = { workspace = true }
tokio = { workspace = true }
pretty_assertions = { workspace = true }
