Skip to content

llmtrim 0.13.8

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Nov 17:15
· 1 commit to main since this release

Changed

  • Refresh Rust, tray frontend, and Java build dependencies. Includes rustls 0.23.46, async-openai 0.42, zstd 0.14, source-map-js 1.2.2, and the Cargo minor/patch updates. Stopword language selection uses the updated dependency's supported API; ledger migrations also compile with current Clippy.
  • 8-bit images in fit_to_cap skip image's per-pixel resampler. Grayscale, grayscale-with-alpha, RGB, and RGBA are downscaled with the same Lanczos3 kernel over packed rows. Other pixel types still use the library. Output size is unchanged, and pixels stay within one level of the previous resampler.
  • fit_to_cap no longer decodes images that need no resize. The decoder is built once, dimensions come from the parsed header, and pixels are decoded only when a downscale is required. Decode limits are unchanged: the dimension cap applies at header parse and total_bytes is reserved against the allocation cap before the full decode. The encode buffer is pre-sized to the input length.
  • Dev and test builds optimize the codec, tokenizer, and JSON dependencies. [profile.dev.package.*] sets opt-level = 3 with debug assertions and overflow checks off for the image codecs (image, png, zune-jpeg, moxcms, …) and the per-request hot dependencies (tiktoken-rs, fancy-regex, serde_json, bm25, gaoya, whatlang, …). Workspace code and release builds are unchanged.