rig-memory 0.45.0

Conversations over time for the Rig agent framework: recent messages, compaction, and saving and resuming sessions.
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.97.1"
name = "rig-memory"
version = "0.45.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Conversations over time for the Rig agent framework: recent messages, compaction, and saving and resuming sessions."
readme = "README.md"
license = "MIT"
repository = "https://github.com/0xPlaygrounds/rig"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
fs = []

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

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

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

[[bench]]
name = "session"
path = "benches/session.rs"
harness = false
required-features = ["fs"]

[dependencies.base64]
version = "0.22"

[dependencies.memchr]
version = "2"

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

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

[dependencies.serde_json]
version = "1.0.54"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dev-dependencies.divan]
version = "0.1.15"

[lints.clippy]
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
dbg_macro = "forbid"
expect_fun_call = "deny"
expect_used = "deny"
indexing_slicing = "deny"
large_enum_variant = "allow"
panic = "deny"
panic_in_result_fn = "deny"
result_large_err = "allow"
should_implement_trait = "allow"
todo = "forbid"
too_many_arguments = "allow"
type_complexity = "allow"
unimplemented = "forbid"
unreachable = "deny"
unwrap_used = "deny"