# 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-core"
version = "0.2.0"
authors = ["Grafeo Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core graph models, indexes, and execution primitives for Grafeo"
readme = false
license = "Apache-2.0"
repository = "https://github.com/GrafeoDB/grafeo"
resolver = "2"

[features]
default = []
rdf = []

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

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.byteorder]
version = "1.5"

[dependencies.bytes]
version = "1.9"

[dependencies.crossbeam]
version = "0.8"

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

[dependencies.hashbrown]
version = "0.16.1"

[dependencies.indexmap]
version = "2.7"

[dependencies.parking_lot]
version = "0.12"

[dependencies.regex]
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"]

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

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

[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"
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"
