pleme-database 0.1.0

Database utilities library for Pleme platform - connection pooling, transactions, repository pattern
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 = "2021"
name = "pleme-database"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database utilities library for Pleme platform - connection pooling, transactions, repository pattern"
homepage = "https://github.com/pleme-io/pleme-database"
readme = "README.md"
keywords = [
    "database",
    "postgres",
    "connection-pool",
    "repository",
    "sqlx",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/pleme-io/pleme-database"

[features]
cache = ["redis"]
default = ["postgres"]
errors = ["pleme-error"]
full = [
    "postgres",
    "cache",
    "errors",
]
postgres = ["sqlx"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.pleme-error]
version = "0.1"
optional = true

[dependencies.redis]
version = "0.24"
features = [
    "connection-manager",
    "streams",
    "tokio-comp",
]
optional = true

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.41"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.11"
features = [
    "serde",
    "v4",
]

[dev-dependencies.tokio-test]
version = "0.4"