[package]
edition = "2021"
rust-version = "1.76"
name = "cel-memory-postgres"
version = "0.1.0"
authors = ["Dimitrios Pagkratis <dimitris@timberhub.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL + pgvector memory backend for AI agents, implementing cel-memory."
homepage = "https://github.com/dimpagk92/cel-memory-postgres"
documentation = "https://docs.rs/cel-memory-postgres"
readme = "README.md"
keywords = [
"ai",
"memory",
"postgres",
"pgvector",
"agent",
]
categories = [
"asynchronous",
"database",
]
license = "Apache-2.0"
repository = "https://github.com/dimpagk92/cel-memory-postgres"
[lib]
name = "cel_memory_postgres"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[test]]
name = "swap"
path = "tests/swap.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.cel-memory]
version = "0.2.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.pgvector]
version = "0.4"
features = ["sqlx"]
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.9"
features = [
"runtime-tokio",
"postgres",
"migrate",
"uuid",
"chrono",
"json",
]
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v7",
"serde",
]
[dev-dependencies.sqlx]
version = "0.9"
features = [
"runtime-tokio",
"postgres",
]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]