codlet-sqlx 0.14.3

SQLite and PostgreSQL storage adapters for codlet, backed by SQLx (RFC-011, RFC-034).
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.85"
name = "codlet-sqlx"
version = "0.14.3"
authors = ["nabbisen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLite and PostgreSQL storage adapters for codlet, backed by SQLx (RFC-011, RFC-034)."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/nabbisen/codlet"
resolver = "2"

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

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

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

[dependencies.codlet-core]
version = "0.14.3"

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

[dependencies.testcontainers-modules]
version = "0.11"
features = ["postgres"]
optional = true

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

[dev-dependencies.tempfile]
version = "3"

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

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"