mnem-cli 0.1.0

Command-line interface for mnem - git for knowledge graphs.
# 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.95"
name = "mnem-cli"
version = "0.1.0"
authors = ["mnem contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for mnem - git for knowledge graphs."
homepage = "https://github.com/Uranid/mnem"
documentation = "https://docs.rs/mnem-cli"
readme = "README.md"
keywords = [
    "mnem",
    "knowledge-graph",
    "cli",
    "vcs",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/Uranid/mnem"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/mnem-{ target }.{ archive-format }"
bin-dir = "mnem-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[features]
bundled-embedder = ["mnem-embed-providers/onnx-bundled"]
bundled-embedder-cuda = ["mnem-embed-providers/onnx-bundled-cuda"]
bundled-embedder-directml = ["mnem-embed-providers/onnx-bundled-directml"]
default = []

[[bin]]
name = "mnem"
path = "src/main.rs"

[[example]]
name = "shell_integration"
path = "examples/shell_integration.rs"

[[test]]
name = "blame"
path = "tests/blame.rs"

[[test]]
name = "branch"
path = "tests/branch.rs"

[[test]]
name = "cat_file"
path = "tests/cat_file.rs"

[[test]]
name = "clone"
path = "tests/clone.rs"

[[test]]
name = "deferred_verbs"
path = "tests/deferred_verbs.rs"

[[test]]
name = "determinism_content_cid"
path = "tests/determinism_content_cid.rs"

[[test]]
name = "export_import"
path = "tests/export_import.rs"

[[test]]
name = "merge"
path = "tests/merge.rs"

[[test]]
name = "remote"
path = "tests/remote.rs"

[[test]]
name = "remote_verbs"
path = "tests/remote_verbs.rs"

[[test]]
name = "show_and_log"
path = "tests/show_and_log.rs"

[[test]]
name = "wire_keybert_ingest"
path = "tests/wire_keybert_ingest.rs"

[[test]]
name = "wizard_non_tty"
path = "tests/wizard_non_tty.rs"

[dependencies.anyhow]
version = "1"

[dependencies.bytes]
version = "1.11"
features = ["serde"]
default-features = false

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.clap_complete]
version = "4.5"

[dependencies.dialoguer]
version = "0.11"
default-features = false

[dependencies.dirs]
version = "6"

[dependencies.indicatif]
version = "0.17"
default-features = false

[dependencies.ipld-core]
version = "0.4"
features = ["serde"]
default-features = false

[dependencies.mnem-backend-redb]
version = "=0.1.0"

[dependencies.mnem-bench]
version = "=0.1.0"
default-features = false

[dependencies.mnem-core]
version = "=0.1.0"

[dependencies.mnem-embed-providers]
version = "=0.1.0"
features = ["mock"]

[dependencies.mnem-graphrag]
version = "=0.1.0"

[dependencies.mnem-ingest]
version = "=0.1.0"
features = ["keybert"]

[dependencies.mnem-llm-providers]
version = "=0.1.0"

[dependencies.mnem-rerank-providers]
version = "=0.1.0"

[dependencies.mnem-transport]
version = "=0.1.0"
features = ["client"]

[dependencies.serde]
version = "1"
features = [
    "derive",
    "alloc",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]
default-features = false

[dependencies.toml]
version = "1"

[dependencies.tracing]
version = "0.1"
features = [
    "std",
    "attributes",
]
default-features = false

[dependencies.ureq]
version = "2.12"
features = ["tls"]
default-features = false

[dev-dependencies.assert_cmd]
version = "2.0"

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

[lints.clippy]
assertions_on_constants = "allow"
assigning_clones = "allow"
bool_assert_comparison = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_copy = "allow"
cloned_ref_to_slice_refs = "allow"
collapsible_if = "allow"
copy_iterator = "allow"
default_trait_access = "allow"
doc_lazy_continuation = "allow"
doc_markdown = "allow"
doc_overindented_list_items = "allow"
elidable_lifetime_names = "allow"
explicit_into_iter_loop = "allow"
explicit_iter_loop = "allow"
field_reassign_with_default = "allow"
flat_map_option = "allow"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
format_collect = "allow"
format_push_string = "allow"
ignored_unit_patterns = "allow"
implicit_clone = "allow"
inefficient_to_string = "allow"
items_after_statements = "allow"
items_after_test_module = "allow"
iter_on_single_items = "allow"
iter_without_into_iter = "allow"
large_enum_variant = "allow"
len_zero = "allow"
literal_string_with_formatting_args = "allow"
manual_assert = "allow"
manual_is_multiple_of = "allow"
manual_is_variant_and = "allow"
manual_let_else = "allow"
manual_range_contains = "allow"
manual_string_new = "allow"
map_flatten = "allow"
map_unwrap_or = "allow"
match_bool = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
misnamed_getters = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
must_use_unit = "allow"
mut_mut = "allow"
needless_borrows_for_generic_args = "allow"
needless_collect = "allow"
needless_continue = "allow"
needless_for_each = "allow"
needless_pass_by_value = "allow"
needless_range_loop = "allow"
no_effect_underscore_binding = "allow"
option_if_let_else = "allow"
option_option = "allow"
or_fun_call = "allow"
ptr_arg = "allow"
range_plus_one = "allow"
redundant_clone = "allow"
redundant_else = "allow"
redundant_pub_crate = "allow"
ref_as_ptr = "allow"
ref_option = "allow"
result_large_err = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_element_loop = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
suboptimal_flops = "allow"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
tuple_array_conversions = "allow"
uninlined_format_args = "allow"
unnecessary_box_returns = "allow"
unnecessary_cast = "allow"
unnecessary_literal_bound = "allow"
unnecessary_map_or = "allow"
unnecessary_sort_by = "allow"
unnecessary_trailing_comma = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_peekable = "allow"
unused_self = "allow"
use_self = "allow"
used_underscore_binding = "allow"
wildcard_imports = "allow"

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

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

[lints.rust]
missing_docs = "deny"
unknown_lints = "allow"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rustdoc]
bare_urls = "allow"
broken_intra_doc_links = "allow"
doc_lazy_continuation = "allow"
invalid_html_tags = "allow"
private_intra_doc_links = "allow"