rig-postgres 0.1.31

PostgreSQL-based vector store implementation for the rig framework
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"
name = "rig-postgres"
version = "0.1.31"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL-based vector store implementation for the rig framework"
readme = "README.md"
license = "MIT"
repository = "https://github.com/0xPlaygrounds/rig"

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

[[example]]
name = "vector_search_postgres"
path = "examples/vector_search_postgres.rs"

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

[dependencies.pgvector]
version = "0.4"
features = ["sqlx"]

[dependencies.rig-core]
version = "0.30.0"
features = ["derive"]
default-features = false

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

[dependencies.serde_json]
version = "1.0.140"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "postgres",
    "uuid",
    "json",
]

[dependencies.tracing]
version = "0.1.41"

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

[dev-dependencies.anyhow]
version = "1.0.98"

[dev-dependencies.dotenvy]
version = "0.15.7"

[dev-dependencies.httpmock]
version = "0.7.0"

[dev-dependencies.log]
version = "0.4.27"

[dev-dependencies.testcontainers]
version = "0.26"

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

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

[dev-dependencies.tracing-subscriber]
version = "0.3.19"
features = ["env-filter"]

[lints.clippy]
dbg_macro = "forbid"
todo = "forbid"
unimplemented = "forbid"