[package]
edition = "2024"
rust-version = "1.91"
name = "cognee-graph"
version = "0.1.1"
authors = ["Topoteretes <support@cognee.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Knowledge-graph database abstraction (embedded Ladybug) for the cognee 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]
ladybug = ["dep:lbug"]
postgres = [
"dep:sea-orm",
"dep:sea-orm-migration",
]
testing = []
[lib]
name = "cognee_graph"
path = "src/lib.rs"
[[test]]
name = "formatted_graph_data"
path = "tests/formatted_graph_data.rs"
[[test]]
name = "ladybug_integration"
path = "tests/ladybug_integration.rs"
[[test]]
name = "ladybug_span_instrumentation"
path = "tests/ladybug_span_instrumentation.rs"
[[test]]
name = "pg_graph_integration"
path = "tests/pg_graph_integration.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.1"
[dependencies.cognee-utils]
version = "0.1.1"
[dependencies.lbug]
version = "0.14"
optional = true
[dependencies.sea-orm]
version = "1.1"
features = [
"runtime-tokio-rustls",
"sqlx-postgres",
"with-chrono",
"with-json",
]
optional = true
[dependencies.sea-orm-migration]
version = "1.1"
features = ["runtime-tokio-rustls"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"fs",
"io-util",
]
[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",
"macros",
"rt-multi-thread",
]
[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"