[package]
name = "cognee-lib"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "Cognee — an AI-memory pipeline that turns raw data into queryable knowledge graphs (umbrella crate)."
repository.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
authors.workspace = true
[package.metadata.docs.rs]
no-default-features = true
features = [
"onnx",
"onnx-dynamic",
"ladybug",
"pgvector",
"pggraph",
"sqlite",
"postgres",
"hf-tokenizer",
"tiktoken",
"pdf-pdfium",
"csv-loader",
"html-loader",
"image-loader",
"audio-loader",
"unstructured",
"visualization",
"mock-llm",
"telemetry",
]
rustdoc-args = ["--cfg", "docsrs"]
[lints]
workspace = true
[features]
default = [
"onnx",
"ladybug",
"pgvector",
"pggraph",
"sqlite",
"postgres",
"hf-tokenizer",
"tiktoken",
"pdf-pdfium",
"csv-loader",
"html-loader",
"image-loader",
"audio-loader",
"unstructured",
"visualization",
"mock-llm",
"telemetry",
]
mock-llm = ["cognee-llm/mock"]
visualization = ["dep:cognee-visualization"]
onnx = ["cognee-embedding/onnx"]
onnx-dynamic = ["cognee-embedding/onnx-dynamic"]
ort-cuda = ["cognee-embedding/ort-cuda"]
ort-tensorrt = ["cognee-embedding/ort-tensorrt"]
ladybug = ["cognee-graph/ladybug"]
pgvector = ["cognee-vector/pgvector", "dep:url"]
pggraph = ["cognee-graph/postgres", "dep:url"]
sqlite = ["cognee-database/sqlite"]
postgres = ["cognee-database/postgres"]
hf-tokenizer = ["cognee-chunking/hf-tokenizer"]
tiktoken = ["cognee-chunking/tiktoken"]
telemetry = [
"dep:cognee-observability",
"cognee-observability/telemetry",
"cognee-core/telemetry",
"cognee-telemetry/telemetry",
"cognee-search/telemetry",
"cognee-session/telemetry",
]
pdf-pdfium = ["cognee-ingestion/pdf-pdfium"]
pdf-pure-rust = ["cognee-ingestion/pdf-pure-rust"]
csv-loader = ["cognee-ingestion/csv-loader"]
html-loader = ["cognee-ingestion/html-loader", "cognee-cognify/html-loader"]
image-loader = ["cognee-ingestion/image-loader", "cognee-cognify/image-loader"]
audio-loader = ["cognee-ingestion/audio-loader", "cognee-cognify/audio-loader"]
unstructured = ["cognee-ingestion/unstructured"]
unstructured-xlsx = ["cognee-ingestion/unstructured-xlsx"]
unstructured-docx = ["cognee-ingestion/unstructured-docx"]
unstructured-pptx = ["cognee-ingestion/unstructured-pptx"]
unstructured-epub = ["cognee-ingestion/unstructured-epub"]
unstructured-eml = ["cognee-ingestion/unstructured-eml"]
unstructured-odt = ["cognee-ingestion/unstructured-odt"]
unstructured-odp = ["cognee-ingestion/unstructured-odp"]
android-default = [
"onnx-dynamic",
"ladybug",
"sqlite",
"hf-tokenizer",
"pdf-pure-rust",
"csv-loader",
"html-loader",
"unstructured-xlsx",
"unstructured-docx",
"unstructured-epub",
"unstructured-eml",
"unstructured-odt",
]
testing = [
"cognee-cognify/testing",
"cognee-graph/testing",
"cognee-storage/testing",
"cognee-vector/testing",
]
[dependencies]
cognee-chunking = { path = "../chunking", version = "0.1.3" }
cognee-utils = { path = "../utils", version = "0.1.3" }
cognee-cognify = { path = "../cognify", version = "0.1.3" }
cognee-core = { path = "../core", version = "0.1.3", features = ["pipeline-run-registry"] }
cognee-delete = { path = "../delete", version = "0.1.3" }
cognee-database = { path = "../database", version = "0.1.3" }
cognee-embedding = { path = "../embedding", version = "0.1.3" }
cognee-graph = { path = "../graph", version = "0.1.3" }
cognee-ingestion = { path = "../ingestion", version = "0.1.3" }
cognee-llm = { path = "../llm", version = "0.1.3" }
cognee-models = { path = "../models", version = "0.1.3" }
cognee-observability = { path = "../observability", version = "0.1.3", optional = true }
cognee-ontology = { path = "../ontology", version = "0.1.3" }
cognee-search = { path = "../search", version = "0.1.3" }
cognee-session = { path = "../session", version = "0.1.3" }
cognee-storage = { path = "../storage", version = "0.1.3" }
cognee-telemetry = { path = "../telemetry", version = "0.1.3" }
cognee-vector = { path = "../vector", version = "0.1.3" }
cognee-visualization = { path = "../visualization", version = "0.1.3", optional = true }
async-trait.workspace = true
chrono.workspace = true
dotenv.workspace = true
thiserror.workspace = true
serde.workspace = true
serde_json.workspace = true
tokio.workspace = true
tracing.workspace = true
url = { workspace = true, optional = true }
uuid.workspace = true
[dev-dependencies]
cognee-test-utils = { path = "../test-utils" }
cognee-storage = { path = "../storage", features = ["testing"] }
cognee-graph = { path = "../graph", features = ["testing"] }
cognee-vector = { path = "../vector", features = ["testing"] }
cognee-session = { path = "../session", features = ["fs"] }
cognee-database = { path = "../database", features = ["sqlite"] }
mockito = "1"
tempfile = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
serial_test = { workspace = true }
chrono = { workspace = true }