[package]
edition = "2024"
rust-version = "1.91"
name = "cognee-database"
version = "0.1.0"
authors = ["Topoteretes <support@cognee.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Relational metadata store (SQLite/Postgres via SeaORM) for the cognee AI-memory pipeline."
homepage = "https://www.cognee.ai"
readme = "README.md"
keywords = [
"ai",
"knowledge-graph",
"memory",
"rag",
"embeddings",
]
categories = [
"science",
"database",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/topoteretes/cognee-rs"
[features]
postgres = ["sea-orm/sqlx-postgres"]
sqlite = ["sea-orm/sqlx-sqlite"]
[lib]
name = "cognee_database"
path = "src/lib.rs"
[[test]]
name = "migration_compat"
path = "tests/migration_compat.rs"
[[test]]
name = "pipeline_run_attribution"
path = "tests/pipeline_run_attribution.rs"
[[test]]
name = "pipeline_run_payload_fields"
path = "tests/pipeline_run_payload_fields.rs"
[[test]]
name = "pipeline_run_repository"
path = "tests/pipeline_run_repository.rs"
[[test]]
name = "provenance_batch"
path = "tests/provenance_batch.rs"
[[test]]
name = "relational_ops_span_instrumentation"
path = "tests/relational_ops_span_instrumentation.rs"
[[test]]
name = "schema_compat"
path = "tests/schema_compat.rs"
[[test]]
name = "sync_operations_migration"
path = "tests/sync_operations_migration.rs"
[[test]]
name = "test_session_lifecycle_repo"
path = "tests/test_session_lifecycle_repo.rs"
[[test]]
name = "test_session_lifecycle_schema"
path = "tests/test_session_lifecycle_schema.rs"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.chrono]
version = "0.4.41"
features = [
"serde",
"clock",
"std",
]
default-features = false
[dependencies.cognee-models]
version = "0.1.0"
[dependencies.cognee-utils]
version = "0.1.0"
[dependencies.include_dir]
version = "0.7"
[dependencies.sea-orm]
version = "1.1"
features = [
"runtime-tokio-rustls",
"with-chrono",
"with-uuid",
"with-json",
]
[dependencies.sea-orm-migration]
version = "1.1"
features = ["runtime-tokio-rustls"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.21"
features = [
"v4",
"v5",
"serde",
]
[dev-dependencies.serial_test]
version = "3.2"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"fs",
"io-util",
]
[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"