diffctx 0.1.0

Smart git diff context for LLMs — name-reservation stub. Working implementation ships as the Python package `treemapper`; a native Rust library is planned for the 1.0 series.
Documentation
  • Coverage
  • 100%
    4 out of 4 items documented0 out of 1 items with examples
  • Size
  • Source code size: 3.85 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 248.34 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • nikolay-e/diffctx
    1 1 11
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nikolay-e

diffctx

Smart git diff context for LLMs. Name-reservation stub on crates.io.

The working implementation currently ships as the Python package treemapper. A native Rust library release is tracked at https://github.com/nikolay-e/diffctx.

What it does (eventually)

diffctx selects the minimum set of code fragments needed for an LLM to understand a git change. Personalized PageRank over a code dependency graph, seeded from changed lines, plus lazy-greedy fragment selection under a token budget.

Status

  • 0.x — name reservation. Public API is intentionally tiny.
  • 1.x (planned) — full library API.