grafeo-core 0.5.21

Core graph models, indexes, and execution primitives 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-core"
version = "0.5.21"
authors = ["S.T. Grond"]
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]
ai = [
    "vector-index",
    "text-index",
    "hybrid-search",
]
default = [
    "parallel",
    "spill",
    "mmap",
    "regex",
]
hybrid-search = [
    "text-index",
    "vector-index",
]
jsonl-import = ["serde_json"]
mmap = []
parallel = [
    "rayon",
    "crossbeam",
]
parquet-import = ["parquet"]
rdf = []
ring-index = [
    "succinct-indexes",
    "rdf",
]
spill = ["tokio"]
succinct-indexes = []
testing-crash-injection = []
text-index = []
tiered-storage = [
    "grafeo-common/tiered-storage",
    "bincode",
]
vector-index = [
    "ordered-float",
    "rand",
]

[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.arcstr]
version = "1"
features = ["serde"]

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

[dependencies.byteorder]
version = "1"

[dependencies.bytes]
version = "1"

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

[dependencies.dashmap]
version = "6"

[dependencies.foldhash]
version = "0.2"

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

[dependencies.hashbrown]
version = "0.16"

[dependencies.indexmap]
version = "2"

[dependencies.ordered-float]
version = "5"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.parquet]
version = "58"
optional = true
default-features = false

[dependencies.rand]
version = "0.10"
optional = true

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

[dependencies.regex]
version = "1"
optional = true

[dependencies.regex-lite]
version = "0.1"
optional = true

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

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.smallvec]
version = "1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "fs",
    "io-util",
    "sync",
    "time",
    "macros",
]
optional = true

[dependencies.unicode-normalization]
version = "0.1"

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

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

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
derivable_impls = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
float_cmp = "allow"
if_not_else = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
manual_div_ceil = "allow"
manual_slice_size_calculation = "allow"
map_entry = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "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_pass_by_value = "allow"
needless_range_loop = "allow"
needless_raw_string_hashes = "allow"
ptr_as_ptr = "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 = "warn"

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

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

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