deps: update candle to 0.11.1 to move zip past GHSA-m665-v7pm-7grj

candle-core 0.9.2 pulled zip 7.4.0, which GHSA-m665-v7pm-7grj
(CVE-2026-115905, critical) covers for every release up to 9.0.4.
candle-core and candle-nn 0.11.1 require zip ^9.1.3, so the
workspace now resolves a single zip 9.1.3.

candle-core 0.11.1 builds `tokenizers` with its pure-Rust
`fancy-regex` backend instead of Oniguruma. The pin comment in
Cargo.toml and docs/ai-masks.md now state that.
This commit is contained in:
dotCooCoo committed 2026-11-20 19:06:25 -08:00
1 parent be760ee524
commit 1a97520181
3 files changed
+354 -315

No files matched your search

+3 -2
View File
@@ -239,8 +239,9 @@ wait and return the result (when built with the `sam` feature; the default CLI h
two-way mask decoder for clicks, and the CLIP text encoder, DETR encoder/decoder (box
relative-position bias, presence token), pixel decoder and semantic head for text. The CLIP tokenizer is a
small BPE in `tokenizer.rs`. The downloader (original code) is the `lightcraft-fetch` crate, shared by any model that is downloaded; `fetch/` here says what SAM 3 needs.
- candle is pinned at 0.9.2: later releases make `candle-core` depend on `tokenizers` with the
Oniguruma C library, and the product is pure Rust. Weights are read with positional reads (no
- candle is pinned at 0.11.1. Releases 0.10.0 to 0.11.0 make `candle-core` depend on `tokenizers`
with the Oniguruma C library; 0.11.1 builds it with the pure-Rust `fancy-regex` backend, and the
product is pure Rust. Weights are read with positional reads (no
memory map: `unsafe` stays in `lightcraft-sysmem`), only the tensors a path needs, and every
tensor's byte range is checked against the file's length when it is opened (a truncated or
damaged file is an error, never a crash).