[package]
edition = "2024"
rust-version = "1.94"
name = "lenso-postgres-kit"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Module-owned PostgreSQL schema lifecycle kit for Lenso applications"
readme = "README.md"
keywords = [
"lenso",
"postgresql",
"migration",
"module",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/LioRael/lenso-postgres-kit"
[lib]
name = "lenso_postgres_kit"
path = "src/lib.rs"
[[test]]
name = "postgres_acceptance"
path = "tests/postgres_acceptance.rs"
[[test]]
name = "sql_file_migrations"
path = "tests/sql_file_migrations.rs"
[dependencies.hex]
version = "0.4"
[dependencies.sha2]
version = "0.11"
[dependencies.sqlx]
version = "0.9"
features = [
"runtime-tokio",
"tls-rustls-ring-webpki",
"postgres",
]
default-features = false
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.tokio]
version = "1.52"
features = [
"macros",
"rt-multi-thread",
]
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"