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

Generated
+346 -309
View File
File diff suppressed because it is too large. Load diff
+5 -4
View File
@@ -107,10 +107,11 @@ ab_glyph = { version = "0.2", default-features = false, features = ["std"] } #
moxcms = { version = "0.9", default-features = false, features = ["lut"] }
# gpu (crates/gpu; native backends only, no GL: everything stays pure Rust)
# SAM 3 inference (lightcraft-segment). 0.9.2: later releases pull `tokenizers` with the
# Oniguruma C library into candle-core, and the product is pure Rust.
candle-core = { version = "=0.9.2", default-features = false }
candle-nn = { version = "=0.9.2", default-features = false }
# SAM 3 inference (lightcraft-segment). 0.11.1: 0.10.0 to 0.11.0 pull `tokenizers` with the
# Oniguruma C library into candle-core; 0.11.1 builds it with the pure-Rust `fancy-regex`
# backend, and the product is pure Rust.
candle-core = { version = "=0.11.1", default-features = false }
candle-nn = { version = "=0.11.1", default-features = false }
wgpu = { version = "30", default-features = false, features = ["std", "parking_lot", "metal", "vulkan", "dx12", "wgsl"] }
pollster = "1"
+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).