[package]
edition = "2024"
name = "grafeo"
version = "0.5.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance, embeddable graph database with a Rust core and no required C dependencies"
readme = "README.md"
keywords = [
"graph",
"database",
"gql",
"knowledge-graph",
"embedded",
]
categories = [
"database-implementations",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/GrafeoDB/grafeo"
resolver = "2"
[features]
ai = [
"vector-index",
"text-index",
"hybrid-search",
"cdc",
]
cdc = ["grafeo-engine/cdc"]
cypher = ["grafeo-engine/cypher"]
default = ["full"]
embed = ["grafeo-engine/embed"]
full = [
"languages",
"ai",
]
gql = ["grafeo-engine/gql"]
graphql = ["grafeo-engine/graphql"]
gremlin = ["grafeo-engine/gremlin"]
hybrid-search = ["grafeo-engine/hybrid-search"]
jemalloc = ["tikv-jemallocator"]
languages = [
"gql",
"cypher",
"sparql",
"gremlin",
"graphql",
"sql-pgq",
]
mimalloc-allocator = ["mimalloc"]
mmap = ["grafeo-engine/mmap"]
parallel = ["grafeo-engine/parallel"]
sparql = [
"grafeo-engine/sparql",
"grafeo-engine/rdf",
]
spill = ["grafeo-engine/spill"]
sql-pgq = ["grafeo-engine/sql-pgq"]
text-index = ["grafeo-engine/text-index"]
vector-index = ["grafeo-engine/vector-index"]
wal = ["grafeo-engine/wal"]
[lib]
name = "grafeo"
path = "src/lib.rs"
[dependencies.grafeo-adapters]
version = "0.5.4"
default-features = false
[dependencies.grafeo-common]
version = "0.5.4"
[dependencies.grafeo-core]
version = "0.5.4"
default-features = false
[dependencies.grafeo-engine]
version = "0.5.4"
default-features = false
[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), not(target_env = "musl"), any(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies.tikv-jemallocator]
version = "0.6"
optional = true
[target.'cfg(target_os = "windows")'.dependencies.mimalloc]
version = "0.1"
optional = true
[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"