First attempt at both Rust and snix-castore.
I'll start by putting together a single-file CLI app,
no splitting modules out until needed, no separation of concerns.

Currently, just the fetching is implemented:

```
$ sidx pkgs/dev*/cuda-*/cuda/manifests/*.json
```
This commit is contained in:
Else, Someone 2025-04-15 14:07:49 +00:00
commit 736fa6351a
13 changed files with 17753 additions and 0 deletions

20
README.md Normal file
View file

@ -0,0 +1,20 @@
sidx
===
Indexing archives and build outputs.
Roadmap
---
- [x] PoC: basic `reqwest` fetcher, minimal `snix-castore` integration, claims of the form "`$uri` referred to `$blake3` at `$time`" stored in sqlite.
- [ ] Zip, tar, git fetchers.
- [ ] ELF scanning: claims of the form "`$blake3` is ELF" and "$blake3's `DT_RUNPATH` is `$runpath`", etc. (`DT_NEEDED`, `.interp`, symbols exported in `.data` and `.text`)
- [ ] `cuobjdump` scanner: claims of the form "$blake3 contains `PTX` or `SASS` code for $gencode".
Approach
---
Vapourware and means to an end.