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 tiktoken-rs from 0.11.0 to 0.12.0 (#3147)

dependabot[bot]a307c11109de
diff --git a/Cargo.lock b/Cargo.lock
index c3bbaba14..f20fc889c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3331,7 +3331,7 @@ dependencies = [
"pin-project-lite",
"quinn-proto",
"quinn-udp",
- "rustc-hash 2.1.2",
+ "rustc-hash",
"rustls",
"socket2",
"thiserror 2.0.20",
@@ -3351,7 +3351,7 @@ dependencies = [
"lru-slab",
"rand 0.9.4",
"ring",
- "rustc-hash 2.1.2",
+ "rustc-hash",
"rustls",
"rustls-pki-types",
"slab",
@@ -3696,12 +3696,6 @@ dependencies = [
"sqlite-wasm-rs",
]
-[[package]]
-name = "rustc-hash"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
-
[[package]]
name = "rustc-hash"
version = "2.1.2"
@@ -4232,9 +4226,9 @@ dependencies = [
[[package]]
name = "tiktoken-rs"
-version = "0.11.0"
+version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fac4a168cfc1d8ed65bf17a6ee0843ad9a68f863c63c0fb2fa7eab67838782ee"
+checksum = "027853bbf8c7763b77c5c595f1c271c7d536ced7d6f83452911b944621e57fc2"
dependencies = [
"anyhow",
"base64 0.22.1",
@@ -4242,7 +4236,7 @@ dependencies = [
"fancy-regex",
"lazy_static",
"regex",
- "rustc-hash 1.1.0",
+ "rustc-hash",
]
[[package]]
diff --git a/crates/headroom-core/Cargo.toml b/crates/headroom-core/Cargo.toml
index d1488ef49..8d59472ae 100644
--- a/crates/headroom-core/Cargo.toml
+++ b/crates/headroom-core/Cargo.toml
@@ -13,7 +13,7 @@ serde_json = { workspace = true }
bytes = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
-tiktoken-rs = "0.11"
+tiktoken-rs = "0.12"
# `tokenizers` is the HuggingFace pure-Rust tokenizer crate. Default features
# pull in `onig` for the BPE pre-tokenizer regex; that vendors oniguruma so it
# builds without a system dep on macOS/Linux.