[package]
edition = "2024"
name = "grafeo"
version = "0.5.21"
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",
]
algos = ["grafeo-engine/algos"]
browser = [
"gql",
"regex-lite",
]
cdc = ["grafeo-engine/cdc"]
cypher = ["grafeo-engine/cypher"]
default = ["embedded"]
embed = ["grafeo-engine/embed"]
embedded = [
"gql",
"ai",
"algos",
"parallel",
"regex",
]
full = ["server"]
gql = ["grafeo-engine/gql"]
grafeo-file = ["grafeo-engine/grafeo-file"]
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"]
rdf = ["grafeo-engine/rdf"]
regex = ["grafeo-engine/regex"]
regex-lite = ["grafeo-engine/regex-lite"]
server = [
"embedded",
"languages",
"storage",
"rdf",
"cdc",
]
sparql = [
"grafeo-engine/sparql",
"grafeo-engine/rdf",
]
spill = ["grafeo-engine/spill"]
sql-pgq = ["grafeo-engine/sql-pgq"]
storage = [
"wal",
"grafeo-file",
"spill",
"mmap",
]
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.21"
default-features = false
[dependencies.grafeo-common]
version = "0.5.21"
[dependencies.grafeo-core]
version = "0.5.21"
default-features = false
[dependencies.grafeo-engine]
version = "0.5.21"
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]
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"