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

34 lines
997 B
TOML

[package]
name = "acrate_database"
version = "0.3.0"
authors = ["Stefano Pigozzi <me@steffo.eu>"]
edition = "2021"
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"]
[dependencies]
diesel = { version = "2.2.4", features = ["postgres", "uuid"] }
diesel-async = { version = "0.5.1", features = ["postgres"] }
diesel_migrations = { version = "2.2.0", optional = true }
log = "0.4.22"
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"
[features]
bin = ["diesel_migrations", "micronfig", "pretty_env_logger"]
[lib]
name = "acrate_database"
[[bin]]
name = "acrate_database_migrate"
required-features = ["bin"]
[lints.clippy]
tabs-in-doc-comments = "allow"