grafeo-engine 0.5.3

Query engine and database management for Grafeo
Documentation
# 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.1"
name = "grafeo-engine"
version = "0.5.3"
authors = ["S.T. Grond"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Query engine and database management for Grafeo"
readme = false
license = "Apache-2.0"
repository = "https://github.com/GrafeoDB/grafeo"
resolver = "2"

[features]
ai = [
    "vector-index",
    "text-index",
    "hybrid-search",
    "cdc",
]
block-stm = []
cdc = []
cypher = ["grafeo-adapters/cypher"]
default = [
    "gql",
    "parallel",
    "wal",
    "spill",
    "mmap",
]
embed = [
    "ort",
    "tokenizers",
]
full = [
    "languages",
    "ai",
    "rdf",
    "parallel",
    "wal",
    "spill",
    "mmap",
]
gql = ["grafeo-adapters/gql"]
graphql = ["grafeo-adapters/graphql"]
gremlin = ["grafeo-adapters/gremlin"]
hybrid-search = [
    "grafeo-core/hybrid-search",
    "text-index",
    "vector-index",
]
languages = [
    "gql",
    "cypher",
    "sparql",
    "gremlin",
    "graphql",
    "sql-pgq",
]
mmap = ["grafeo-core/mmap"]
parallel = [
    "rayon",
    "crossbeam",
    "grafeo-core/parallel",
    "grafeo-adapters/parallel",
]
rdf = [
    "grafeo-core/rdf",
    "grafeo-adapters/rdf",
]
sparql = ["grafeo-adapters/sparql"]
spill = ["grafeo-core/spill"]
sql-pgq = ["grafeo-adapters/sql-pgq"]
text-index = ["grafeo-core/text-index"]
vector-index = ["grafeo-core/vector-index"]
wal = ["grafeo-adapters/wal"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "2.0"
features = ["serde"]

[dependencies.crossbeam]
version = "0.8"
optional = true

[dependencies.grafeo-adapters]
version = "0.5.3"
default-features = false

[dependencies.grafeo-common]
version = "0.5.3"

[dependencies.grafeo-core]
version = "0.5.3"
default-features = false

[dependencies.hashbrown]
version = "0.16.1"

[dependencies.indexmap]
version = "2.7"

[dependencies.ort]
version = "2.0.0-rc.11"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.regex]
version = "1"

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

[dependencies.smallvec]
version = "1.13"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokenizers]
version = "0.22"
features = ["onig"]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"

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

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

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

[dev-dependencies.tokio]
version = "1.43"
features = ["full"]

[lints.clippy]
assertions_on_constants = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
comparison_chain = "allow"
default_trait_access = "allow"
derivable_impls = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
explicit_auto_deref = "allow"
float_cmp = "allow"
if_not_else = "allow"
implicit_hasher = "allow"
io_other_error = "allow"
items_after_statements = "allow"
iter_not_returning_iterator = "allow"
large_enum_variant = "allow"
manual_clamp = "allow"
manual_div_ceil = "allow"
manual_map = "allow"
manual_slice_fill = "allow"
manual_slice_size_calculation = "allow"
map_entry = "allow"
map_identity = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
mismatching_type_param_order = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
mut_from_ref = "allow"
needless_continue = "allow"
needless_option_as_deref = "allow"
needless_pass_by_value = "allow"
needless_range_loop = "allow"
needless_raw_string_hashes = "allow"
non_canonical_partial_ord_impl = "allow"
only_used_in_recursion = "allow"
ptr_as_ptr = "allow"
pub_underscore_fields = "allow"
redundant_closure_for_method_calls = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
should_implement_trait = "allow"
similar_names = "allow"
single_match = "allow"
single_match_else = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
type_complexity = "allow"
uninlined_format_args = "allow"
unnecessary_literal_bound = "allow"
unnecessary_map_or = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_self = "allow"
used_underscore_binding = "allow"
while_let_loop = "allow"
wildcard_imports = "allow"
zero_sized_map_values = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"