Commit Graph
2 Commits
Author SHA1 Message Date
Eric Coissac f935fb66c4 refactor: simplify nonzero_triples and update workspace tooling
Remove the `sorted_slots` parameter from `nonzero_triples` and update
callers to always sort slots internally. Introduce `MEMBERS_DIR` to
workspace scripts to support scanning subdirectories for Cargo manifests.
Bump crate-kit version to 0.1.1.

- Remove `sorted_slots` field from `nonzero_triples` in
  `src/obicompactvec/src/views.rs` and always sort permutation by slot
  values internally.
- Update `nonzero_iter` in `src/obicompactvec/src/intmatrix.rs` and
  `src/obicompactvec/src/bitmatrix/persistent.rs` to call
  `nonzero_triples` without the `false` argument, passing column views
  directly.
- Add `MEMBERS_DIR` variable to `Makefile` and export it in
  `.crate-kit/dev-patch.mk` to define the workspace folder for member
  scanning.
- Update `.crate-kit/scripts/deps-lib.sh` and
  `.crate-kit/scripts/dev-patch.sh` to check for `Cargo.toml` files
  relative to `$MEMBERS_DIR`, excluding the root manifest.
- Change version in `.crate-kit/VERSION` from 0.3.4 to 0.1.1.
2026-12-02 16:13:22 +01:00
Eric Coissac 8159137f8b chore: add crate-kit build system and CeCILL license
Introduce the `.crate-kit` infrastructure to standardize build, testing,
and release workflows using Jujutsu and Cargo. Add CeCILL-2.1 license
files and update all workspace crate manifests with license and repository
metadata.

- Add `.crate-kit/` directory with `VERSION`, `crate.mk`, `dev-patch.mk`,
  `jj.mk`, and `org.mk` to define build targets, Jujutsu helpers, and
  registry configuration for the workspace.
- Add 21 shell scripts in `.crate-kit/scripts/` for API tracking,
  dependency checking, version bumping, publishing, tagging, and wiki
  generation, including `common.sh` with shared utility functions.
- Add `scripts/jj-tag.sh` to support tagging commits with version strings
  derived from the current crate version.
- Add `LICENSE` and `LICENSE.en` files containing the CeCILL-2.1 free
  software license agreement in French and English.
- Update `Makefile` with new targets for building, testing, formatting,
  CI, and releasing, integrating with `.crate-kit` scripts and updating
  the wiki directory path to `obiskim`.
- Update `.gitignore` to ignore `.cargo/config.toml` files generated by
  the development patch system.
- Add `license = "CECILL-2.1"` and
  `repository = "https://forge.metabarcoding.org/obi/obiskim"` to all
  `Cargo.toml` files in the workspace, including `obicompactvec`,
  `obidebruinj`, `obifastwrite`, `obikalgorithm`, `obikdump`,
  `obikentropy`, `obikfilter`, `obikidxcache`, `obikindex`,
  `obikindexer`, `obikmer`, `obikmerge`, `obikphylo`, `obikquery`,
  `obikrebuild`, `obikrope`, `obikselect`, `obikseq`, `obiksession`,
  `obikstats`, `obipipeline`, `obiread`, `obiskbuilder`, `obiskio`,
  `obisys`, and `obitaxonomy`.
- Update `src/obikrope/Cargo.toml` to use `criterion2` version 3 with
  the `cargo_bench_support` feature.
- Update `src/obikseq/Cargo.toml` to replace the "OnceLock-based params"
  feature with a new feature description involving thread-local storage.
- Update `src/Cargo.lock` to reflect the version bump of `obikmer` from
  1.4.7 to 1.4.8.
2026-12-01 17:18:34 +01:00