# 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"
name = "grafeo"
version = "0.5.41"
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"]
analytics = [
    "algos",
    "vector-index",
    "text-index",
    "hybrid-search",
    "jsonl-import",
    "parquet-import",
]
arrow-export = ["grafeo-engine/arrow-export"]
async-storage = ["grafeo-engine/async-storage"]
browser = ["edge"]
cdc = ["grafeo-engine/cdc"]
compact-store = ["grafeo-engine/compact-store"]
cypher = ["grafeo-engine/cypher"]
default = ["embedded"]
edge = [
    "grafeo-engine/lpg",
    "gql",
    "regex-lite",
]
embed = ["grafeo-engine/embed"]
embedded = [
    "grafeo-engine/lpg",
    "gql",
    "ai",
    "algos",
    "parallel",
    "regex",
    "grafeo-file",
    "arrow-export",
]
enterprise = [
    "metrics",
    "tracing",
    "async-storage",
]
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"]
jsonl-import = ["grafeo-engine/jsonl-import"]
languages = [
    "gql",
    "cypher",
    "sparql",
    "gremlin",
    "graphql",
    "sql-pgq",
]
lpg = [
    "grafeo-engine/lpg",
    "gql",
    "cypher",
    "gremlin",
    "sql-pgq",
    "storage",
    "regex",
]
metrics = ["grafeo-engine/metrics"]
mimalloc-allocator = ["mimalloc"]
mmap = ["grafeo-engine/mmap"]
parallel = ["grafeo-engine/parallel"]
parquet-import = ["grafeo-engine/parquet-import"]
rdf = [
    "triple-store",
    "gql",
    "sparql",
    "graphql",
    "storage",
    "regex",
    "shacl",
]
regex = ["grafeo-engine/regex"]
regex-lite = ["grafeo-engine/regex-lite"]
ring-index = [
    "grafeo-engine/ring-index",
    "triple-store",
]
server = [
    "embedded",
    "languages",
    "storage",
    "triple-store",
    "cdc",
    "async-storage",
    "tracing",
    "shacl",
]
shacl = ["grafeo-engine/shacl"]
sparql = [
    "grafeo-engine/sparql",
    "grafeo-engine/triple-store",
]
spill = ["grafeo-engine/spill"]
sql-pgq = ["grafeo-engine/sql-pgq"]
storage = [
    "wal",
    "grafeo-file",
    "spill",
    "mmap",
]
temporal = ["grafeo-engine/temporal"]
text-index = ["grafeo-engine/text-index"]
tracing = ["grafeo-engine/tracing"]
triple-store = ["grafeo-engine/triple-store"]
vector-index = ["grafeo-engine/vector-index"]
wal = ["grafeo-engine/wal"]

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

[dependencies.grafeo-adapters]
version = "0.5.41"
default-features = false

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

[dependencies.grafeo-core]
version = "0.5.41"
default-features = false

[dependencies.grafeo-engine]
version = "0.5.41"
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 = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "allow"
cast_sign_loss = "warn"
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 = "warn"
missing_fields_in_debug = "allow"
missing_panics_doc = "warn"
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 = "deny"
