zeph-db 0.18.6

Database abstraction layer for Zeph (SQLite and PostgreSQL backends)
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"
name = "zeph-db"
version = "0.18.6"
authors = ["bug-ops"]
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database abstraction layer for Zeph (SQLite and PostgreSQL backends)"
homepage = "https://github.com/bug-ops/zeph"
documentation = "https://bug-ops.github.io/zeph/"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "llm",
    "inference",
    "skills",
]
categories = [
    "command-line-utilities",
    "science",
]
license = "MIT"
repository = "https://github.com/bug-ops/zeph"

[features]
default = ["sqlite"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
test-utils = [
    "dep:testcontainers",
    "dep:testcontainers-modules",
    "postgres",
]

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

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

[dependencies.regex]
version = "1.12"

[dependencies.sqlx]
version = "0.8"
features = [
    "macros",
    "migrate",
    "runtime-tokio-rustls",
]
default-features = false

[dependencies.testcontainers]
version = "0.27"
optional = true

[dependencies.testcontainers-modules]
version = "0.15"
features = ["postgres"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
unsafe_code = "deny"