grafeo-engine 0.1.1

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.1.1"
authors = ["Grafeo Contributors"]
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/StevenBtw/grafeo"
resolver = "2"

[features]
cypher = ["grafeo-adapters/cypher"]
default = ["gql"]
full = [
    "gql",
    "cypher",
    "sparql",
    "gremlin",
    "graphql",
    "rdf",
]
gql = ["grafeo-adapters/gql"]
graphql = ["grafeo-adapters/graphql"]
gremlin = ["grafeo-adapters/gremlin"]
rdf = [
    "grafeo-core/rdf",
    "grafeo-adapters/rdf",
]
sparql = ["grafeo-adapters/sparql"]

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.crossbeam]
version = "0.8"

[dependencies.grafeo-adapters]
version = "0.1.1"

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

[dependencies.grafeo-core]
version = "0.1.1"

[dependencies.hashbrown]
version = "0.16.1"

[dependencies.indexmap]
version = "2.7"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rayon]
version = "1.10"

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

[dependencies.smallvec]
version = "1.13"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

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

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

[lints.clippy]
approx_constant = "allow"
assertions_on_constants = "allow"
assigning_clones = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_copy = "allow"
collapsible_if = "allow"
collapsible_match = "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"
explicit_iter_loop = "allow"
float_cmp = "allow"
if_not_else = "allow"
implicit_hasher = "allow"
inefficient_to_string = "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_let_else = "allow"
manual_map = "allow"
manual_range_contains = "allow"
manual_slice_fill = "allow"
manual_slice_size_calculation = "allow"
manual_strip = "allow"
map_entry = "allow"
map_identity = "allow"
map_unwrap_or = "allow"
match_like_matches_macro = "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_borrow = "allow"
needless_borrows_for_generic_args = "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"
question_mark = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
self_only_used_in_recursion = "allow"
should_implement_trait = "allow"
similar_names = "allow"
single_match = "allow"
single_match_else = "allow"
stable_sort_primitive = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "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"
unwrap_or_default = "allow"
used_underscore_binding = "allow"
useless_conversion = "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]
unsafe_code = "warn"