cachebench 0.1.0

Prompt-cache observability for LLM APIs. Per-call hit ratio, cost saved, regression alerts. Anthropic, OpenAI, Bedrock.
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 = "cachebench"
version = "0.1.0"
authors = ["MukundaKatta"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Prompt-cache observability for LLM APIs. Per-call hit ratio, cost saved, regression alerts. Anthropic, OpenAI, Bedrock."
homepage = "https://github.com/MukundaKatta/cachebench-rs"
documentation = "https://docs.rs/cachebench"
readme = "README.md"
keywords = [
    "llm",
    "anthropic",
    "openai",
    "bedrock",
    "observability",
]
categories = [
    "development-tools",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/MukundaKatta/cachebench-rs"

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

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

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
]