mempill-postgres 0.2.0

PostgreSQL persistence adapter for mempill — shared-DB topology, r2d2 pool, per-agent advisory locking, OCC, refinery migrations (NoTls)
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"
rust-version = "1.88"
name = "mempill-postgres"
version = "0.2.0"
authors = ["Aliaksei Ivanouski"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL persistence adapter for mempill — shared-DB topology, r2d2 pool, per-agent advisory locking, OCC, refinery migrations (NoTls)"
homepage = "https://mempill.netlify.app"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "memory",
    "postgres",
    "temporal",
]
categories = [
    "database",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/mempill-ai/mempill"

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

[features]
postgres-integration = []

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

[[test]]
name = "postgres_concurrent"
path = "tests/postgres_concurrent.rs"
required-features = ["postgres-integration"]

[[test]]
name = "postgres_conformance"
path = "tests/postgres_conformance.rs"
required-features = ["postgres-integration"]

[[test]]
name = "postgres_oracle_conformance"
path = "tests/postgres_oracle_conformance.rs"
required-features = ["postgres-integration"]

[[test]]
name = "postgres_oracle_e2e"
path = "tests/postgres_oracle_e2e.rs"
required-features = ["postgres-integration"]

[[test]]
name = "postgres_pending_store"
path = "tests/postgres_pending_store.rs"
required-features = ["postgres-integration"]

[[test]]
name = "postgres_succession"
path = "tests/postgres_succession.rs"
required-features = ["postgres-integration"]

[[test]]
name = "postgres_ttl_orphan"
path = "tests/postgres_ttl_orphan.rs"
required-features = ["postgres-integration"]

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

[dependencies.mempill-core]
version = "0.2.0"

[dependencies.mempill-types]
version = "0.2.0"

[dependencies.postgres]
version = "0.19"
features = [
    "with-serde_json-1",
    "with-chrono-0_4",
]

[dependencies.r2d2]
version = "0.8"

[dependencies.r2d2_postgres]
version = "0.18"

[dependencies.refinery]
version = "0.9"
features = ["postgres"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

[dev-dependencies.mempill-core]
version = "0.2.0"
features = ["test-support"]

[dev-dependencies.testcontainers-modules]
version = "0.15"
features = [
    "postgres",
    "blocking",
    "watchdog",
]

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