[package]
edition = "2024"
rust-version = "1.97.1"
name = "minco-sqlx-postgres"
version = "0.1.1"
authors = ["Minco Contributors"]
build = false
include = [
"src/**",
"Cargo.toml",
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bounded SQLx PostgreSQL pools and migrations for Minco local and serverless runtimes"
homepage = "https://github.com/xicv/minco"
documentation = "https://docs.rs/minco-sqlx-postgres"
readme = "README.md"
keywords = [
"minco",
"postgresql",
"sqlx",
"database",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/xicv/minco"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "minco_sqlx_postgres"
path = "src/lib.rs"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.sqlx]
version = "0.9.0"
features = [
"runtime-tokio",
"tls-rustls-ring-webpki",
"postgres",
"sqlite",
"uuid",
"chrono",
"json",
"migrate",
]
default-features = false
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[lints.clippy]
future_not_send = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
too_many_lines = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"