nidus-sqlx 1.0.4

Official SQLx adapter primitives for Nidus, including pool registration and health checks.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.96"
name = "nidus-sqlx"
version = "1.0.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official SQLx adapter primitives for Nidus, including pool registration and health checks."
homepage = "https://rustnidus.com/"
documentation = "https://docs.rs/nidus-sqlx"
readme = "README.md"
keywords = [
    "framework",
    "axum",
    "di",
    "http",
    "backend",
]
categories = [
    "web-programming::http-server",
    "asynchronous",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vicotrbb/nidus"
resolver = "2"

[features]
default = []
health = ["dep:nidus-http"]
nidus-config = ["dep:nidus-config"]
observability = ["dep:nidus-observability"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]

[lib]
name = "nidus_sqlx"
path = "src/lib.rs"

[[test]]
name = "postgres_metadata"
path = "tests/postgres_metadata.rs"

[[test]]
name = "sqlite_adapter"
path = "tests/sqlite_adapter.rs"

[[test]]
name = "sqlx_ui"
path = "tests/sqlx_ui.rs"

[dependencies.nidus-config]
version = "1.0.4"
optional = true

[dependencies.nidus-core]
version = "1.0.4"

[dependencies.nidus-http]
version = "1.0.4"
optional = true

[dependencies.nidus-observability]
version = "1.0.4"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.sqlx]
version = "0.8"
features = ["runtime-tokio"]
default-features = false

[dependencies.thiserror]
version = "2"

[dev-dependencies.nidus-config]
version = "1.0.4"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
    "rt-multi-thread",
    "time",
]

[dev-dependencies.trybuild]
version = "1"