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