rig-memory-policy 0.2.2

Backend-agnostic memory-policy primitives (frame metadata, content-hash dedup) shared by Rig memory-store adapters.
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-memory-policy"
version = "0.2.2"
authors = ["ForeverAngry"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Backend-agnostic memory-policy primitives (frame metadata, content-hash dedup) shared by Rig memory-store adapters."
readme = "README.md"
keywords = [
    "rig",
    "memory",
    "ai",
    "agent",
    "dedup",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/ForeverAngry/rig-memory-policy"

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

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

[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.pollster]
version = "0.4"

[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