mnem-bench 0.1.6

v1.0 benchmark harness for mnem - download, run, score LongMemEval / LoCoMo against the cpu-local adapter.
Documentation
# 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-bench"
version = "0.1.6"
authors = ["mnem contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "v1.0 benchmark harness for mnem - download, run, score LongMemEval / LoCoMo against the cpu-local adapter."
homepage = "https://github.com/Uranid/mnem"
documentation = "https://docs.rs/mnem-bench"
readme = "README.md"
keywords = [
    "mnem",
    "benchmark",
    "longmemeval",
    "locomo",
    "retrieval",
]
categories = ["development-tools"]
license = "Apache-2.0"
repository = "https://github.com/Uranid/mnem"

[features]
default = ["onnx-minilm"]
onnx-minilm = ["mnem-embed-providers/onnx-bundled"]

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

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

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.directories]
version = "5"

[dependencies.hex]
version = "0.4"

[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.6"

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

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

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

[dependencies.serde_json]
version = "1"

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

[dependencies.thiserror]
version = "2.0"
default-features = false

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

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

[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"