[package]
edition = "2024"
rust-version = "1.91.1"
name = "grafeo-cli"
version = "0.5.8"
authors = ["S.T. Grond"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for Grafeo graph database"
readme = false
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 = ["gql"]
full = [
"languages",
"ai",
"rdf",
]
gql = ["grafeo-engine/gql"]
graphql = ["grafeo-engine/graphql"]
gremlin = ["grafeo-engine/gremlin"]
hybrid-search = ["grafeo-engine/hybrid-search"]
languages = [
"gql",
"cypher",
"sparql",
"gremlin",
"graphql",
"sql-pgq",
]
rdf = ["grafeo-engine/rdf"]
sparql = ["grafeo-engine/sparql"]
sql-pgq = ["grafeo-engine/sql-pgq"]
text-index = ["grafeo-engine/text-index"]
vector-index = ["grafeo-engine/vector-index"]
[[bin]]
name = "grafeo"
path = "src/main.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_complete]
version = "4"
[dependencies.comfy-table]
version = "7"
[dependencies.grafeo-common]
version = "0.5.8"
[dependencies.grafeo-engine]
version = "0.5.8"
features = [
"wal",
"parallel",
"spill",
"mmap",
]
default-features = false
[dependencies.indicatif]
version = "0.18"
[dependencies.is-terminal]
version = "0.4"
[dependencies.rustyline]
version = "17"
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
[dev-dependencies.tempfile]
version = "3.24"
[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"