2024-11-08 23:37:12 +00:00
|
|
|
[package]
|
2024-11-18 05:13:49 +00:00
|
|
|
name = "acrate_database"
|
2024-11-18 18:56:04 +00:00
|
|
|
version = "0.3.0"
|
2024-11-18 05:24:08 +00:00
|
|
|
authors = ["Stefano Pigozzi <me@steffo.eu>"]
|
2024-11-08 23:37:12 +00:00
|
|
|
edition = "2021"
|
2024-11-18 05:24:08 +00:00
|
|
|
description = "Database schema and migrations for the acrate project"
|
|
|
|
repository = "https://forge.steffo.eu/unimore/tirocinio-canali-steffo-acrate"
|
|
|
|
license = "EUPL-1.2"
|
|
|
|
keywords = ["fediverse", "diesel", "database", "postgresql", "database-migrations"]
|
|
|
|
categories = ["database"]
|
2024-11-08 23:37:12 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-11-15 01:57:39 +00:00
|
|
|
diesel = { version = "2.2.4", features = ["postgres", "uuid"] }
|
2024-11-15 01:40:58 +00:00
|
|
|
diesel-async = { version = "0.5.1", features = ["postgres"] }
|
2024-11-18 08:45:03 +00:00
|
|
|
diesel_migrations = { version = "2.2.0", optional = true }
|
|
|
|
log = "0.4.22"
|
|
|
|
micronfig = { version = "0.3.0", optional = true }
|
2024-11-18 18:55:21 +00:00
|
|
|
mime = "0.3.17"
|
2024-11-18 08:45:03 +00:00
|
|
|
pretty_env_logger = { version = "0.5.0", optional = true }
|
2024-11-15 00:57:13 +00:00
|
|
|
uuid = "1.11.0"
|
2024-11-11 05:06:41 +00:00
|
|
|
|
2024-11-18 05:24:08 +00:00
|
|
|
[features]
|
2024-11-18 08:45:03 +00:00
|
|
|
bin = ["diesel_migrations", "micronfig", "pretty_env_logger"]
|
2024-11-18 05:24:08 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "acrate_database"
|
|
|
|
|
2024-11-18 08:45:03 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "acrate_database_migrate"
|
|
|
|
required-features = ["bin"]
|
2024-11-18 05:24:08 +00:00
|
|
|
|
2024-11-11 05:06:41 +00:00
|
|
|
[lints.clippy]
|
|
|
|
tabs-in-doc-comments = "allow"
|