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.

fix(ci): maturin manifest-path is Cargo.toml not pyproject.toml

chopratejas1bbbf9670036
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 91a30776e..00cae246a 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -72,7 +72,8 @@ jobs:
uses: PyO3/maturin-action@v1
with:
command: build
- args: --release -m crates/headroom-py/pyproject.toml --out dist
+ manifest-path: crates/headroom-py/Cargo.toml
+ args: --release --out dist
target: ${{ matrix.maturin-target }}
- name: Upload wheel artifact
uses: actions/upload-artifact@v4
diff --git a/Makefile b/Makefile
index ef02b2559..b0cb44958 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ test-parity:
echo "error: activate a venv first (e.g. source .venv/bin/activate)"; \
exit 1; \
fi
- $(MATURIN) develop -m crates/headroom-py/pyproject.toml
+ $(MATURIN) develop -m crates/headroom-py/Cargo.toml
$(CARGO) run -p headroom-parity -- run --fixtures $(FIXTURES)
bench:
@@ -43,7 +43,7 @@ build-proxy:
printf 'headroom-proxy: %s bytes (%.1f MiB)\n' "$$SIZE" "$$(echo "$$SIZE / 1048576" | bc -l)"
build-wheel:
- $(MATURIN) build --release -m crates/headroom-py/pyproject.toml
+ $(MATURIN) build --release -m crates/headroom-py/Cargo.toml
fmt:
$(CARGO) fmt --all