Skip to content

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

deps: bump bytesize from 1.3.3 to 2.4.2 (#2286)

dependabot[bot]6448545a7f5a
diff --git a/Cargo.lock b/Cargo.lock
index 7be07cbd2..6dd065fb6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -861,9 +861,9 @@ dependencies = [
[[package]]
name = "bytesize"
-version = "1.3.3"
+version = "2.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e93abca9e28e0a1b9877922aacb20576e05d4679ffa78c3d6dc22a26a216659"
+checksum = "3d7c8918969267b2932ffd5655509bbbea0833823058c378876953217f5fc50e"
[[package]]
name = "cast"
diff --git a/crates/headroom-proxy/Cargo.toml b/crates/headroom-proxy/Cargo.toml
index 898645e9d..813b826a7 100644
--- a/crates/headroom-proxy/Cargo.toml
+++ b/crates/headroom-proxy/Cargo.toml
@@ -38,7 +38,7 @@ http-body-util = "0.1"
hyper = "1"
url = "2"
humantime = "2"
-bytesize = "1"
+bytesize = "2"
tokio-util = { version = "0.7" }
headroom-core = { path = "../headroom-core" }
# Phase D PR-D1: native Bedrock InvokeModel route. SigV4 + AWS