2024-11-08 23:37:12 +00:00
|
|
|
[package]
|
2024-11-18 05:13:49 +00:00
|
|
|
name = "acrate_database"
|
|
|
|
version = "0.2.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 05:24:08 +00:00
|
|
|
# diesel_migrations = { version = "2.2.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]
|
|
|
|
# bin = ["diesel_migrations"]
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "acrate_database"
|
|
|
|
|
|
|
|
# [[bin]]
|
|
|
|
# name = "acrate_database_migrate"
|
|
|
|
# required-features = ["bin"]
|
|
|
|
|
2024-11-11 05:06:41 +00:00
|
|
|
[lints.clippy]
|
|
|
|
tabs-in-doc-comments = "allow"
|