[package]
edition = "2021"
rust-version = "1.85"
name = "spec-stream-cache"
version = "0.1.1"
authors = [
"GLASTOR® Core <ventas@glastor.es>",
"Andrés Antonio Cardoso <glastor.info@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Paged KV-cache memory manager with virtual-to-physical block tables, prefix caching, and O(1) rollbacks for speculative decoding"
homepage = "https://glastor-core.github.io/spec-stream/"
readme = "README.md"
keywords = [
"llm",
"speculative-decoding",
"kv-cache",
"inference",
"ai",
]
categories = [
"algorithms",
"asynchronous",
"concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/glastor-core/spec-stream"
[lib]
name = "spec_stream_cache"
path = "src/lib.rs"
[[test]]
name = "property_invariants"
path = "tests/property_invariants.rs"
[dependencies.parking_lot]
version = "0.12"
[dependencies.serde]
version = "1.0"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.smallvec]
version = "1.13"
[dependencies.spec-stream-core]
version = "0.1.1"
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tokio]
version = "1.40"
features = ["full"]