[package]
edition = "2024"
rust-version = "1.95"
name = "caliban-memory"
version = "0.2.0"
authors = ["John Ford <john.ford2002@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "File-backed memory tiers spliced into the caliban system prompt — internal crate for the caliban binary; no API stability, pin exact versions"
readme = false
license = "AGPL-3.0-only"
repository = "https://github.com/caliban-ai/caliban"
resolver = "2"
[lib]
name = "caliban_memory"
path = "src/lib.rs"
[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"
[[test]]
name = "walk_imports_roundtrip"
path = "tests/walk_imports_roundtrip.rs"
[dependencies.caliban-common]
version = "0.2.0"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
]
default-features = false
[dependencies.dirs]
version = "5"
[dependencies.globset]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"full",
"fs",
"io-util",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"macros",
"rt-multi-thread",
]
[lints.clippy]
cargo_common_metadata = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1