id_effect_sql 0.8.0

Driver-agnostic SQL client traits for id_effect — @effect/sql-style boundaries
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.94"
name = "id_effect_sql"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Driver-agnostic SQL client traits for id_effect — @effect/sql-style boundaries"
readme = "README.md"
keywords = [
    "effect",
    "async",
    "sql",
    "database",
    "postgres",
]
categories = [
    "asynchronous",
    "database",
]
license = "MIT"
repository = "https://github.com/Industrial/id_effect"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[package.metadata.id_effect]
tier = "integration"

[features]
pg = [
    "dep:sqlx",
    "dep:tokio",
]

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

[[example]]
name = "010_test_client_transaction"
path = "examples/010_test_client_transaction.rs"

[[test]]
name = "pg"
path = "tests/pg.rs"
required-features = ["pg"]

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

[dependencies.id_effect]
version = "0.8.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "uuid",
]
optional = true
default-features = false

[dependencies.tokio]
version = "1.50.0"
features = [
    "rt",
    "sync",
]
optional = true

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

[lints.rust]
unsafe_code = "forbid"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]