poly-kv 0.1.0-alpha.3

Shared compressed KV-cache pool for multi-agent context. Two-tier codec policy (fib-quant cold + turbo-quant hot) with typed receipts.
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 = "2021"
rust-version = "1.75"
name = "poly-kv"
version = "0.1.0-alpha.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared compressed KV-cache pool for multi-agent context. Two-tier codec policy (fib-quant cold + turbo-quant hot) with typed receipts."
readme = "README.md"
license = "MIT"
repository = "https://github.com/RecursiveIntell/Libraries"

[features]
default = [
    "turbo",
    "fib",
    "parallel_pool",
]
fib = ["fib-quant"]
full-stack = [
    "typed-ids",
    "temporal-truth",
]
gpu = ["gpu_codebook_lookup"]
gpu_codebook_lookup = [
    "fib-quant?/gpu_codebook_lookup",
    "gpu-backend?/gpu",
]
parallel_pool = ["fib-quant?/parallel"]
temporal-truth = [
    "dep:bitemporal-runtime",
    "dep:chrono",
]
turbo = ["turbo-quant"]
typed-ids = ["dep:stack-ids"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bitemporal-runtime]
version = "0.1.0"
optional = true

[dependencies.blake3]
version = "1"

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.fib-quant]
version = "0.1.0-beta.3"
optional = true

[dependencies.gpu-backend]
version = "0.1.0-alpha.2"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rand_chacha]
version = "0.3"

[dependencies.rayon]
version = "1.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.stack-ids]
version = "0.1.1"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.turbo-quant]
version = "0.2.1"
optional = true

[dev-dependencies.proptest]
version = "1"