# 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"
rust-version = "1.91"
name = "cognee-delete"
version = "0.1.0"
authors = ["Topoteretes <support@cognee.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deletion and orphan-sweep operations for the cognee knowledge graph."
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"

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

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

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

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

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

[dependencies.cognee-core]
version = "0.1.0"
features = ["pipeline-run-registry"]

[dependencies.cognee-database]
version = "0.1.0"

[dependencies.cognee-graph]
version = "0.1.0"

[dependencies.cognee-models]
version = "0.1.0"

[dependencies.cognee-session]
version = "0.1.0"

[dependencies.cognee-storage]
version = "0.1.0"

[dependencies.cognee-vector]
version = "0.1.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.async-trait]
version = "0.1.89"

[dev-dependencies.chrono]
version = "0.4.41"
features = [
    "serde",
    "clock",
    "std",
]
default-features = false

[dev-dependencies.dotenv]
version = "0.15"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "fs",
    "io-util",
    "rt-multi-thread",
    "macros",
]

[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"
