tirocinio-canali-steffo-acrate/acrate_database/Cargo.toml

35 lines
997 B
TOML
Raw Normal View History

2024-11-08 23:37:12 +00:00
[package]
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]
diesel = { version = "2.2.4", features = ["postgres", "uuid"] }
2024-11-15 01:40:58 +00:00
diesel-async = { version = "0.5.1", features = ["postgres"] }
diesel_migrations = { version = "2.2.0", optional = true }
log = "0.4.22"
2024-11-19 05:06:48 +00:00
mediatype = "0.19.18"
micronfig = { version = "0.3.0", optional = true }
mime = "0.3.17"
pretty_env_logger = { version = "0.5.0", optional = true }
uuid = "1.11.0"
2024-11-18 05:24:08 +00:00
[features]
bin = ["diesel_migrations", "micronfig", "pretty_env_logger"]
2024-11-18 05:24:08 +00:00
[lib]
name = "acrate_database"
[[bin]]
name = "acrate_database_migrate"
required-features = ["bin"]
2024-11-18 05:24:08 +00:00
[lints.clippy]
tabs-in-doc-comments = "allow"