[package]
edition = "2021"
rust-version = "1.90"
name = "velesdb-memory"
version = "0.9.2"
authors = ["Julien Lange <contact@wiscale.fr>"]
build = false
exclude = ["media/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "VelesDB-memory: local-first MCP memory server for AI agents (remember/recall/relate/forget/why + deterministic context compiler)."
homepage = "https://velesdb.com"
documentation = "https://deepwiki.com/cyberlife-coder/VelesDB"
readme = "README.md"
keywords = [
"mcp",
"agent-memory",
"local-first",
"knowledge-graph",
"ai",
]
categories = [
"database",
"command-line-utilities",
]
license-file = "LICENSE"
repository = "https://github.com/cyberlife-coder/velesdb"
[features]
context = []
default = [
"mcp",
"persistence",
"context",
]
extract = ["dep:ureq"]
mcp = [
"dep:rmcp",
"dep:tokio",
"persistence",
]
ollama = ["dep:ureq"]
persistence = ["velesdb-core/persistence"]
[lib]
name = "velesdb_memory"
path = "src/lib.rs"
[[bin]]
name = "velesdb-memory"
path = "src/main.rs"
required-features = ["mcp"]
[[example]]
name = "bench_multihop"
path = "examples/bench_multihop.rs"
[[example]]
name = "colfilter"
path = "examples/colfilter/main.rs"
required-features = ["ollama"]
[[example]]
name = "context_savings"
path = "examples/context_savings/main.rs"
required-features = ["context"]
[[example]]
name = "locomo"
path = "examples/locomo/main.rs"
required-features = ["ollama"]
[[example]]
name = "multihop"
path = "examples/multihop/main.rs"
required-features = ["ollama"]
[[example]]
name = "timeqa"
path = "examples/timeqa/main.rs"
required-features = ["ollama"]
[[example]]
name = "triengine"
path = "examples/triengine/main.rs"
required-features = ["ollama"]
[[example]]
name = "wow_offline"
path = "examples/wow_offline.rs"
[[test]]
name = "columnstore_bdd"
path = "tests/columnstore_bdd.rs"
[[test]]
name = "context_compiler_bdd"
path = "tests/context_compiler_bdd.rs"
[[test]]
name = "context_memory_bdd"
path = "tests/context_memory_bdd.rs"
[[test]]
name = "context_pins_bdd"
path = "tests/context_pins_bdd.rs"
[[test]]
name = "context_property_bdd"
path = "tests/context_property_bdd.rs"
[[test]]
name = "extract_bdd"
path = "tests/extract_bdd.rs"
[[test]]
name = "mcp_lifecycle"
path = "tests/mcp_lifecycle.rs"
[[test]]
name = "memory_service_bdd"
path = "tests/memory_service_bdd.rs"
[[test]]
name = "metadata_caps_bdd"
path = "tests/metadata_caps_bdd.rs"
[[test]]
name = "recall_fused_bdd"
path = "tests/recall_fused_bdd.rs"
[[test]]
name = "reinforce_persistence"
path = "tests/reinforce_persistence.rs"
[[test]]
name = "ttl_bdd"
path = "tests/ttl_bdd.rs"
[[test]]
name = "why_bdd"
path = "tests/why_bdd.rs"
[[bench]]
name = "context_compiler_benchmark"
path = "benches/context_compiler_benchmark.rs"
harness = false
required-features = ["context"]
[dependencies.rmcp]
version = "2.0.0"
features = [
"server",
"macros",
"transport-io",
]
optional = true
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.52"
features = ["full"]
optional = true
[dependencies.ureq]
version = "2"
optional = true
default-features = false
[dependencies.velesdb-core]
version = "3.12.0"
default-features = false
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.52"
features = ["full"]
[lints.clippy]
assertions_on_constants = "allow"
cast_lossless = "allow"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
collapsible_if = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
if_not_else = "allow"
implicit_hasher = "allow"
imprecise_flops = "allow"
large_stack_arrays = "allow"
manual_assert = "allow"
manual_let_else = "allow"
match_single_binding = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
non_send_fields_in_send_ty = "warn"
option_if_let_else = "allow"
ptr_as_ptr = "allow"
redundant_clone = "allow"
redundant_pub_crate = "allow"
set_contains_or_insert = "allow"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
single_match_else = "allow"
struct_field_names = "allow"
suboptimal_flops = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_cast = "allow"
unused_async = "allow"
unused_peekable = "allow"
unused_self = "allow"
use_self = "allow"
used_underscore_binding = "allow"
useless_let_if_seq = "allow"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]