rig-memvid 0.2.2

Memvid-backed persistent memory and lexical store for Rig agents.
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.89"
name = "rig-memvid"
version = "0.2.2"
authors = ["ForeverAngry"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Memvid-backed persistent memory and lexical store for Rig agents."
readme = "README.md"
keywords = [
    "rig",
    "memvid",
    "ai",
    "agent",
    "memory",
]
categories = [
    "text-processing",
    "database",
]
license = "MIT"
repository = "https://github.com/ForeverAngry/rig-memvid"

[features]
api_embed = [
    "memvid-core/api_embed",
    "simd",
]
compaction = [
    "dep:rig-memory",
    "dep:blake3",
]
context-projection = ["dep:rig-compose"]
default = [
    "lex",
    "simd",
]
encryption = ["memvid-core/encryption"]
lex = ["memvid-core/lex"]
observe = ["dep:rig-tap"]
simd = ["memvid-core/simd"]
temporal = ["memvid-core/temporal_track"]
vec = [
    "memvid-core/vec",
    "simd",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.blake3]
version = "1"
optional = true
default-features = false

[dependencies.futures]
version = "0.3.32"

[dependencies.memvid-core]
version = "2.0.140"
default-features = false

[dependencies.rig]
version = "0.37.0"
default-features = false
package = "rig-core"

[dependencies.rig-compose]
version = "0.4"
optional = true
default-features = false

[dependencies.rig-memory]
version = "0.1.1"
optional = true
default-features = false

[dependencies.rig-tap]
version = "0.1"
optional = true

[dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.140"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dev-dependencies.rig-compose]
version = "0.4"

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

[dev-dependencies.tokio]
version = "1.51.1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[lints.clippy]
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
dbg_macro = "forbid"
expect_fun_call = "deny"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
panic_in_result_fn = "deny"
todo = "forbid"
unimplemented = "forbid"
unreachable = "deny"
unwrap_used = "deny"

[profile.release]
opt-level = "s"
lto = true