2020-12-18 16:17:21 +00:00
|
|
|
[package]
|
|
|
|
name = "lemmy_db_schema"
|
2022-11-17 15:23:01 +00:00
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
description.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
homepage.workspace = true
|
|
|
|
documentation.workspace = true
|
2022-11-24 16:38:00 +00:00
|
|
|
repository.workspace = true
|
2020-12-18 16:17:21 +00:00
|
|
|
|
2021-02-25 19:43:39 +00:00
|
|
|
[lib]
|
2021-12-20 22:23:06 +00:00
|
|
|
name = "lemmy_db_schema"
|
|
|
|
path = "src/lib.rs"
|
2021-02-25 19:43:39 +00:00
|
|
|
doctest = false
|
|
|
|
|
2023-11-21 13:51:22 +00:00
|
|
|
[lints]
|
|
|
|
workspace = true
|
|
|
|
|
2022-05-03 17:44:13 +00:00
|
|
|
[features]
|
2023-07-14 08:45:18 +00:00
|
|
|
full = [
|
2024-02-27 16:13:52 +00:00
|
|
|
"lemmy_utils/full",
|
2023-07-14 08:45:18 +00:00
|
|
|
"diesel",
|
|
|
|
"diesel-derive-newtype",
|
|
|
|
"diesel-derive-enum",
|
|
|
|
"diesel_migrations",
|
|
|
|
"bcrypt",
|
|
|
|
"lemmy_utils",
|
|
|
|
"activitypub_federation",
|
|
|
|
"regex",
|
|
|
|
"serde_json",
|
|
|
|
"diesel_ltree",
|
|
|
|
"diesel-async",
|
|
|
|
"deadpool",
|
|
|
|
"ts-rs",
|
|
|
|
"tokio",
|
|
|
|
"tokio-postgres",
|
|
|
|
"tokio-postgres-rustls",
|
|
|
|
"rustls",
|
2024-01-24 15:50:11 +00:00
|
|
|
"i-love-jesus",
|
2024-11-11 10:34:10 +00:00
|
|
|
"tuplex",
|
|
|
|
"diesel-bind-if-some",
|
2023-07-14 08:45:18 +00:00
|
|
|
]
|
2022-05-03 17:44:13 +00:00
|
|
|
|
2020-12-18 16:17:21 +00:00
|
|
|
[dependencies]
|
2022-11-17 15:23:01 +00:00
|
|
|
chrono = { workspace = true }
|
|
|
|
serde = { workspace = true }
|
2023-04-26 04:26:10 +00:00
|
|
|
serde_with = { workspace = true }
|
2022-11-17 15:23:01 +00:00
|
|
|
url = { workspace = true }
|
|
|
|
strum = { workspace = true }
|
|
|
|
serde_json = { workspace = true, optional = true }
|
|
|
|
activitypub_federation = { workspace = true, optional = true }
|
2024-02-27 16:13:52 +00:00
|
|
|
lemmy_utils = { workspace = true, optional = true }
|
2022-11-17 15:23:01 +00:00
|
|
|
bcrypt = { workspace = true, optional = true }
|
2023-07-14 08:45:18 +00:00
|
|
|
diesel = { workspace = true, features = [
|
|
|
|
"chrono",
|
2024-12-20 22:20:16 +00:00
|
|
|
"postgres",
|
2023-07-14 08:45:18 +00:00
|
|
|
"serde_json",
|
|
|
|
"uuid",
|
|
|
|
], optional = true }
|
2022-11-17 15:23:01 +00:00
|
|
|
diesel-derive-newtype = { workspace = true, optional = true }
|
2023-04-17 19:19:51 +00:00
|
|
|
diesel-derive-enum = { workspace = true, optional = true }
|
2022-11-17 15:23:01 +00:00
|
|
|
diesel_migrations = { workspace = true, optional = true }
|
2023-07-14 08:45:18 +00:00
|
|
|
diesel-async = { workspace = true, features = [
|
|
|
|
"deadpool",
|
2024-12-20 22:20:16 +00:00
|
|
|
"postgres",
|
2023-07-14 08:45:18 +00:00
|
|
|
], optional = true }
|
2022-11-17 15:23:01 +00:00
|
|
|
regex = { workspace = true, optional = true }
|
|
|
|
diesel_ltree = { workspace = true, optional = true }
|
|
|
|
async-trait = { workspace = true }
|
2023-01-23 14:59:25 +00:00
|
|
|
tracing = { workspace = true }
|
2024-12-20 22:20:16 +00:00
|
|
|
deadpool = { version = "0.12.1", optional = true, features = ["rt_tokio_1"] }
|
2023-06-26 08:25:38 +00:00
|
|
|
ts-rs = { workspace = true, optional = true }
|
|
|
|
futures-util = { workspace = true }
|
2023-07-14 08:45:18 +00:00
|
|
|
tokio = { workspace = true, optional = true }
|
|
|
|
tokio-postgres = { workspace = true, optional = true }
|
|
|
|
tokio-postgres-rustls = { workspace = true, optional = true }
|
|
|
|
rustls = { workspace = true, optional = true }
|
2024-11-25 23:20:45 +00:00
|
|
|
uuid.workspace = true
|
2024-01-24 15:50:11 +00:00
|
|
|
i-love-jesus = { workspace = true, optional = true }
|
2024-01-24 15:22:33 +00:00
|
|
|
anyhow = { workspace = true }
|
2024-11-11 10:34:10 +00:00
|
|
|
diesel-bind-if-some = { workspace = true, optional = true }
|
2024-06-06 12:29:18 +00:00
|
|
|
derive-new.workspace = true
|
2024-11-11 10:34:10 +00:00
|
|
|
tuplex = { workspace = true, optional = true }
|
2021-10-16 13:33:38 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-11-17 15:23:01 +00:00
|
|
|
serial_test = { workspace = true }
|
2024-01-04 09:47:18 +00:00
|
|
|
pretty_assertions = { workspace = true }
|