# 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"
name = "grit-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embedded, bi-temporal property graph for agent memory: one SQLite file, in-process, deterministic"
readme = "README.md"
keywords = [
    "graph",
    "sqlite",
    "agent",
    "memory",
    "bitemporal",
]
categories = [
    "database",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bofeizhu/grit"

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

[[example]]
name = "quickbench"
path = "examples/quickbench.rs"

[[example]]
name = "readbench"
path = "examples/readbench.rs"

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

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

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

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

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

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

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

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

[[bench]]
name = "hot_paths"
path = "benches/hot_paths.rs"
harness = false

[dependencies.rusqlite]
version = "=0.40.1"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0.150"

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

[dependencies.strsim]
version = "0.11.1"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.uuid]
version = "1.23.4"
features = [
    "v7",
    "serde",
]

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.proptest]
version = "1.11.0"

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