1
Fork 0
tirocinio-canali-steffo-acrate/acrate_database/Cargo.toml

32 lines
959 B
TOML

[package]
name = "acrate_database"
version = "0.2.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"
micronfig = { version = "0.3.0", optional = true }
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"