[package]
edition = "2021"
rust-version = "1.90"
name = "velesdb-memory"
version = "0.14.0"
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",
"embedder-http",
"extractor-http",
]
embedder-http = ["dep:ureq"]
extract = ["extractor-http"]
extractor-http = ["dep:ureq"]
http = [
"mcp",
"dep:axum",
"dep:tokio-util",
"dep:tower-http",
"dep:futures",
"dep:rcgen",
"dep:time",
"dep:rustls",
"dep:tokio-rustls",
"dep:rustls-pemfile",
"dep:hyper",
"dep:hyper-util",
"dep:tower",
"rmcp/transport-streamable-http-server",
]
mcp = [
"dep:rmcp",
"dep:tokio",
"dep:tracing",
"dep:tracing-subscriber",
"persistence",
]
ollama = ["embedder-http"]
persistence = [
"velesdb-core/persistence",
"dep:sha2",
"dep:getrandom",
"dep:fs2",
"dep:tempfile",
"dep:atomicwrites",
]
[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"
required-features = ["persistence"]
[[example]]
name = "colfilter"
path = "examples/colfilter/main.rs"
required-features = [
"embedder-http",
"persistence",
]
[[example]]
name = "context_savings"
path = "examples/context_savings/main.rs"
required-features = ["context"]
[[example]]
name = "locomo"
path = "examples/locomo/main.rs"
required-features = [
"embedder-http",
"persistence",
]
[[example]]
name = "multihop"
path = "examples/multihop/main.rs"
required-features = [
"embedder-http",
"persistence",
]
[[example]]
name = "timeqa"
path = "examples/timeqa/main.rs"
required-features = [
"embedder-http",
"persistence",
]
[[example]]
name = "triengine"
path = "examples/triengine/main.rs"
required-features = [
"embedder-http",
"persistence",
]
[[example]]
name = "wow_offline"
path = "examples/wow_offline.rs"
required-features = ["persistence"]
[[test]]
name = "auto_date_bdd"
path = "tests/auto_date_bdd.rs"
[[test]]
name = "autograph_async_bdd"
path = "tests/autograph_async_bdd.rs"
[[test]]
name = "backend_dispatch_bdd"
path = "tests/backend_dispatch_bdd.rs"
[[test]]
name = "binding_parity_bdd"
path = "tests/binding_parity_bdd.rs"
[[test]]
name = "cli_flags"
path = "tests/cli_flags.rs"
[[test]]
name = "column_filter_conformance_bdd"
path = "tests/column_filter_conformance_bdd.rs"
[[test]]
name = "columnstore_bdd"
path = "tests/columnstore_bdd.rs"
[[test]]
name = "config_store_path_process"
path = "tests/config_store_path_process.rs"
required-features = ["http"]
[[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 = "daemon_logging"
path = "tests/daemon_logging.rs"
required-features = ["http"]
[[test]]
name = "default_build_carries_semantic_backends"
path = "tests/default_build_carries_semantic_backends.rs"
[[test]]
name = "embedder_switch_journey_bdd"
path = "tests/embedder_switch_journey_bdd.rs"
[[test]]
name = "embedding_provenance_bdd"
path = "tests/embedding_provenance_bdd.rs"
[[test]]
name = "entity_budget_bdd"
path = "tests/entity_budget_bdd.rs"
[[test]]
name = "extract_bdd"
path = "tests/extract_bdd.rs"
[[test]]
name = "forget_orphan_hubs_bdd"
path = "tests/forget_orphan_hubs_bdd.rs"
[[test]]
name = "graceful_shutdown_process"
path = "tests/graceful_shutdown_process.rs"
required-features = ["http"]
[[test]]
name = "graph_autocomplete_bdd"
path = "tests/graph_autocomplete_bdd.rs"
[[test]]
name = "http_insecure_process"
path = "tests/http_insecure_process.rs"
required-features = ["http"]
[[test]]
name = "http_lock_contention"
path = "tests/http_lock_contention.rs"
required-features = ["http"]
[[test]]
name = "http_tls"
path = "tests/http_tls.rs"
required-features = ["http"]
[[test]]
name = "http_transport"
path = "tests/http_transport.rs"
required-features = ["http"]
[[test]]
name = "kinship_forms_bdd"
path = "tests/kinship_forms_bdd.rs"
[[test]]
name = "kinship_synonym_bdd"
path = "tests/kinship_synonym_bdd.rs"
[[test]]
name = "list_memories_bdd"
path = "tests/list_memories_bdd.rs"
[[test]]
name = "mcp_lifecycle"
path = "tests/mcp_lifecycle.rs"
[[test]]
name = "mcp_recall_fused_pool_bdd"
path = "tests/mcp_recall_fused_pool_bdd.rs"
[[test]]
name = "mcp_schema_bdd"
path = "tests/mcp_schema_bdd.rs"
[[test]]
name = "mcp_tools_drift"
path = "tests/mcp_tools_drift.rs"
[[test]]
name = "memory_service_bdd"
path = "tests/memory_service_bdd.rs"
[[test]]
name = "memory_status_bdd"
path = "tests/memory_status_bdd.rs"
[[test]]
name = "metadata_caps_bdd"
path = "tests/metadata_caps_bdd.rs"
[[test]]
name = "online_migration_process"
path = "tests/online_migration_process.rs"
[[test]]
name = "openai_auth_bdd"
path = "tests/openai_auth_bdd.rs"
[[test]]
name = "recall_fused_bdd"
path = "tests/recall_fused_bdd.rs"
[[test]]
name = "recall_scaffolding_bdd"
path = "tests/recall_scaffolding_bdd.rs"
[[test]]
name = "recall_threshold_bdd"
path = "tests/recall_threshold_bdd.rs"
[[test]]
name = "recall_where_scaffolding_bdd"
path = "tests/recall_where_scaffolding_bdd.rs"
[[test]]
name = "reinforce_persistence"
path = "tests/reinforce_persistence.rs"
[[test]]
name = "relation_orientation_bdd"
path = "tests/relation_orientation_bdd.rs"
[[test]]
name = "tokio_blocking_lock_contention_repro"
path = "tests/tokio_blocking_lock_contention_repro.rs"
[[test]]
name = "ttl_bdd"
path = "tests/ttl_bdd.rs"
[[test]]
name = "ttl_call_order_bdd"
path = "tests/ttl_call_order_bdd.rs"
[[test]]
name = "unrelate_bdd"
path = "tests/unrelate_bdd.rs"
[[test]]
name = "why_bdd"
path = "tests/why_bdd.rs"
[[test]]
name = "working_index_lock_contention_bdd"
path = "tests/working_index_lock_contention_bdd.rs"
[[test]]
name = "working_index_two_daemons_process"
path = "tests/working_index_two_daemons_process.rs"
[[bench]]
name = "autograph_write_benchmark"
path = "benches/autograph_write_benchmark.rs"
harness = false
required-features = ["persistence"]
[[bench]]
name = "context_compiler_benchmark"
path = "benches/context_compiler_benchmark.rs"
harness = false
required-features = ["context"]
[[bench]]
name = "fused_recall_benchmark"
path = "benches/fused_recall_benchmark.rs"
harness = false
required-features = ["persistence"]
[[bench]]
name = "generation_gate_benchmark"
path = "benches/generation_gate_benchmark.rs"
harness = false
required-features = ["persistence"]
[dependencies.axum]
version = "0.8"
optional = true
[dependencies.fs2]
version = "0.4"
optional = true
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.getrandom]
version = "0.4"
optional = true
[dependencies.hyper]
version = "1"
optional = true
[dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"server-auto",
]
optional = true
[dependencies.parking_lot]
version = "0.12"
[dependencies.rcgen]
version = "0.14"
features = ["x509-parser"]
optional = true
[dependencies.rmcp]
version = "3.1"
features = [
"server",
"macros",
"transport-io",
"transport-streamable-http-server",
]
optional = true
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"logging",
"std",
"tls12",
]
optional = true
default-features = false
[dependencies.rustls-pemfile]
version = "2"
optional = true
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
optional = true
[dependencies.tempfile]
version = "3"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.time]
version = "0.3"
optional = true
[dependencies.tokio]
version = "1.52"
features = ["full"]
optional = true
[dependencies.tokio-rustls]
version = "0.26"
optional = true
[dependencies.tokio-util]
version = "0.7"
optional = true
[dependencies.toml]
version = "1.1"
[dependencies.tower]
version = "0.5"
optional = true
[dependencies.tower-http]
version = "0.7"
features = [
"cors",
"trace",
"limit",
]
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true
[dependencies.ureq]
version = "2"
optional = true
default-features = false
[dependencies.velesdb-core]
version = "5.1.0"
default-features = false
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.reqwest]
version = "0.13"
features = ["blocking"]
[dev-dependencies.rmcp]
version = "3.1"
features = [
"client",
"transport-streamable-http-client-reqwest",
"reqwest",
]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.14"
[dev-dependencies.tokio]
version = "1.52"
features = ["full"]
[dev-dependencies.tracing]
version = "0.1"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[target."cfg(windows)".dependencies.atomicwrites]
version = "0.4.4"
optional = true
[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)"]