lightcraft/crates/segment/src
Daniel Voshart 7fa7506db4 Fetch: the model downloader is its own crate, lightcraft-fetch
The downloader in lightcraft-segment (mirrors, resume, pinned SHA-256, pure-Rust
HTTPS) was already generic apart from four SAM 3 constants. Move it to
crates/fetch (L0, native only) so other model features can use it without
depending on the SAM 3 inference code. lightcraft-segment keeps SAM3_FILES,
DEFAULT_MIRRORS, MIRRORS_ENV and wraps mirrors(); no behaviour change. The
downloader's 13 tests moved with it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-07 12:07:24 -04:00
..
fetch Fetch: the model downloader is its own crate, lightcraft-fetch 2026-10-07 12:07:24 -04:00
clip.rs M12: lightcraft-segment: Apache-2.0, checked weights, pure-Rust model download 2026-10-07 09:56:49 -04:00
detector.rs M12: lightcraft-segment: Apache-2.0, checked weights, pure-Rust model download 2026-10-07 09:56:49 -04:00
lib.rs M12: lightcraft-segment: Apache-2.0, checked weights, pure-Rust model download 2026-10-07 09:56:49 -04:00
mask.rs M12: lightcraft-segment: Apache-2.0, checked weights, pure-Rust model download 2026-10-07 09:56:49 -04:00
neck.rs M12: lightcraft-segment: Apache-2.0, checked weights, pure-Rust model download 2026-10-07 09:56:49 -04:00
nn.rs M12: lightcraft-segment: Apache-2.0, checked weights, pure-Rust model download 2026-10-07 09:56:49 -04:00
tokenizer.rs M12: lightcraft-segment: Apache-2.0, checked weights, pure-Rust model download 2026-10-07 09:56:49 -04:00
tracker.rs M12: lightcraft-segment: Apache-2.0, checked weights, pure-Rust model download 2026-10-07 09:56:49 -04:00
vit.rs M12: lightcraft-segment: Apache-2.0, checked weights, pure-Rust model download 2026-10-07 09:56:49 -04:00
weights.rs M12: lightcraft-segment: Apache-2.0, checked weights, pure-Rust model download 2026-10-07 09:56:49 -04:00