# 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 = "2021"
rust-version = "1.88"
name = "neurographrag"
version = "1.2.0"
build = false
exclude = [
    ".serena/",
    ".claude/",
    ".vscode/",
    ".idea/",
    "logs/",
    "memory/",
    "docs_rules/",
    "CLAUDE.md",
    "AGENTS.md",
    "MEMORY.md",
    "ralph-loop.local.md",
    "*.profraw",
    "*.profdata",
    "*.log",
    "*.sqlite",
    "*.sqlite-shm",
    "*.sqlite-wal",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "neurographrag"
description = "Local GraphRAG memory for LLMs in a single SQLite file"
homepage = "https://docs.rs/neurographrag"
documentation = "https://docs.rs/neurographrag"
readme = "README.md"
keywords = [
    "graphrag",
    "sqlite",
    "llm",
    "embeddings",
    "memory",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/daniloaguiarbr/neurographrag"

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

[[bin]]
name = "neurographrag"
path = "src/main.rs"

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.ctrlc]
version = "3.4"
features = ["termination"]

[dependencies.directories]
version = "5"

[dependencies.fastembed]
version = "5"

[dependencies.fs4]
version = "0.9"
features = ["sync"]

[dependencies.interprocess]
version = "2"

[dependencies.notify]
version = "6"

[dependencies.refinery]
version = "0.8"
features = ["rusqlite"]

[dependencies.regex]
version = "1"

[dependencies.rusqlite]
version = "0.32"
features = [
    "bundled",
    "blob",
    "load_extension",
    "functions",
    "trace",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.slug]
version = "0.1"

[dependencies.sqlite-vec]
version = "0.1.6"

[dependencies.sysinfo]
version = "0.32"
features = ["system"]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "json",
    "env-filter",
]

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

[dependencies.zerocopy]
version = "0.7"
features = ["derive"]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.mockall]
version = "0.13"

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

[dev-dependencies.proptest]
version = "1"
features = ["std"]

[dev-dependencies.serde_json]
version = "1"

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

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

[dev-dependencies.wiremock]
version = "0.6"

[profile.dev]
opt-level = 1

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
