[package]
edition = "2024"
rust-version = "1.91"
name = "cognee-session"
version = "0.1.0"
authors = ["Topoteretes <support@cognee.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Session/conversation store (filesystem, Redis, SeaORM) 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]
default = []
fs = []
redis = ["dep:redis"]
sea-orm-store = [
"dep:sea-orm",
"dep:sea-orm-migration",
]
telemetry = ["cognee-telemetry/telemetry"]
[lib]
name = "cognee_session"
path = "src/lib.rs"
[[test]]
name = "fs_store_tests"
path = "tests/fs_store_tests.rs"
[[test]]
name = "sea_orm_store_tests"
path = "tests/sea_orm_store_tests.rs"
[[test]]
name = "test_session_manager_trace"
path = "tests/test_session_manager_trace.rs"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.chrono]
version = "0.4.41"
features = [
"serde",
"clock",
"std",
]
default-features = false
[dependencies.cognee-llm]
version = "0.1.0"
[dependencies.cognee-telemetry]
version = "0.1.0"
[dependencies.redis]
version = "0.29"
features = [
"aio",
"tokio-comp",
"connection-manager",
]
optional = true
[dependencies.sea-orm]
version = "1.1"
features = [
"sqlx-sqlite",
"sqlx-postgres",
"runtime-tokio-rustls",
"with-chrono",
]
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.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"