rig-memory 0.1.1

Conversation memory policies (sliding window, token budget, ...) for the Rig agent framework.
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"
name = "rig-memory"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Conversation memory policies (sliding window, token budget, ...) for the Rig agent framework."
readme = "README.md"
license = "MIT"
repository = "https://github.com/0xPlaygrounds/rig"

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

[[example]]
name = "agent_with_memory_policies"
path = "examples/agent_with_memory_policies.rs"
required-features = [
    "rig-core/reqwest",
    "rig-core/rustls",
]

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

[dependencies.tracing]
version = "0.1.41"

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

[dev-dependencies.serde_json]
version = "1.0.140"

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

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