[package]
edition = "2021"
rust-version = "1.88"
name = "synaptic-cache"
version = "0.2.5"
authors = ["Synaptic Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LLM response caching: InMemory, Semantic, CachedChatModel"
homepage = "https://dnw3.github.io/synaptic/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dnw3/synaptic"
[lib]
name = "synaptic_cache"
path = "src/lib.rs"
[[test]]
name = "cached_model"
path = "tests/cached_model.rs"
[[test]]
name = "cached_model_extended"
path = "tests/cached_model_extended.rs"
[[test]]
name = "in_memory"
path = "tests/in_memory.rs"
[[test]]
name = "in_memory_edge"
path = "tests/in_memory_edge.rs"
[[test]]
name = "semantic"
path = "tests/semantic.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.synaptic-core]
version = "0.2"
[dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
]
[dev-dependencies.synaptic-embeddings]
version = "0.2"
[dev-dependencies.synaptic-models]
version = "0.2"
[dev-dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
]