[package]
name = "lemmy_routes"
publish = false
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

# dummy to make `./scripts/test.sh lemmy_routes` work
[features]
full = []
ts-rs = ["dep:ts-rs"]

[dependencies]
lemmy_db_views_community = { workspace = true, features = ["full"] }
lemmy_db_views_post = { workspace = true, features = ["full"] }
lemmy_db_views_local_image = { workspace = true, features = ["full"] }
lemmy_db_views_local_user = { workspace = true, features = ["full"] }
lemmy_db_views_notification = { workspace = true, features = ["full"] }
lemmy_db_views_modlog = { workspace = true, features = ["full"] }
lemmy_db_views_person_content_combined = { workspace = true, features = [
  "full",
] }
lemmy_db_views_site = { workspace = true, features = ["full"] }
lemmy_utils = { workspace = true, features = ["full"] }
lemmy_db_schema = { workspace = true, features = ["full"] }
lemmy_api_utils = { workspace = true, features = ["full"] }
lemmy_db_schema_file = { workspace = true }
activitypub_federation = { workspace = true }
lemmy_email = { workspace = true }
actix-web = { workspace = true, features = ["cookies"] }
chrono = { workspace = true }
futures = { workspace = true }
reqwest = { workspace = true, features = ["stream"] }
reqwest-middleware = { workspace = true }
serde = { workspace = true }
url = { workspace = true }
tracing = { workspace = true }
tokio = { workspace = true }
futures-util.workspace = true
http.workspace = true
diesel.workspace = true
diesel-async.workspace = true
clokwerk = "0.4.0"
prometheus = { version = "0.14.0", features = [
  "process",
], default-features = false }
rss = "2.0.12"
actix-web-prom = "0.10.0"
actix-cors = "0.7.1"
rand = { workspace = true }
percent-encoding = "2.3.2"
urlencoding = { workspace = true }
diesel-uplete.workspace = true
lemmy_diesel_utils = { workspace = true }
rosetta-i18n = { workspace = true }
strum = { workspace = true }
ts-rs = { workspace = true, optional = true }

[dev-dependencies]
pretty_assertions.workspace = true
serial_test.workspace = true
