# 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.94"
name = "sqry-db"
version = "28.0.3"
authors = ["Verivus Pty Ltd"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Salsa-style incremental computation engine for sqry semantic code search"
readme = false
license = "MIT"
repository = "https://github.com/verivus-oss/sqry"
resolver = "2"

[features]
baseline = []
persistence-roundtrip = ["sqry-core/test-support"]

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

[[test]]
name = "baseline_spot_check"
path = "tests/baseline_spot_check.rs"
required-features = ["baseline"]

[[test]]
name = "cache_invariants"
path = "tests/property/cache_invariants.rs"

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

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

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

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

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

[[test]]
name = "diff_call_family"
path = "tests/property/diff_call_family.rs"
required-features = ["baseline"]

[[test]]
name = "diff_cicall_family"
path = "tests/property/diff_cicall_family.rs"
required-features = ["baseline"]

[[test]]
name = "diff_cycle_family"
path = "tests/property/diff_cycle_family.rs"
required-features = ["baseline"]

[[test]]
name = "diff_reach_family"
path = "tests/property/diff_reach_family.rs"
required-features = ["baseline"]

[[test]]
name = "diff_structural_family"
path = "tests/property/diff_structural_family.rs"
required-features = ["baseline"]

[[test]]
name = "diff_unused_family"
path = "tests/property/diff_unused_family.rs"
required-features = ["baseline"]

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

[[test]]
name = "fusion_equivalence"
path = "tests/property/fusion_equivalence.rs"
required-features = ["baseline"]

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

[[test]]
name = "graph_gen_self_test"
path = "tests/property/graph_gen_self_test.rs"

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

[[test]]
name = "parser_roundtrip"
path = "tests/property/parser_roundtrip.rs"

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

[[test]]
name = "persistence_roundtrip"
path = "tests/property/persistence_roundtrip.rs"
required-features = ["persistence-roundtrip"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.globset]
version = "0.4"

[dependencies.log]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.postcard]
version = "1"
features = [
    "use-std",
    "alloc",
]
default-features = false

[dependencies.regex]
version = "1.12"

[dependencies.regex-syntax]
version = "0.8"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11"

[dependencies.smallvec]
version = "1.15"

[dependencies.sqry-core]
version = "28.0.3"

[dependencies.strsim]
version = "0.11"

[dependencies.thiserror]
version = "2.0"

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

[dev-dependencies.env_logger]
version = "0.11"
features = [
    "auto-color",
    "regex",
]
default-features = false

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

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

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