Skip to content

Fast & cache-friendly binary & sequential search & comparison in Rust - local build & test

Notifications You must be signed in to change notification settings

cami-rs/cami-workspace

Repository files navigation

Purpose

To simplify cargo check, cargo check --tests --benches, cargo test for all cami-related repositories.

This itself is not a Rust crate (and is not published on crates.io).

Limitation: symlinks

This Rust workspace does not contain its members (crates). It refers to them through symlinks. So this needs on OS & filesystem that support symlinks.

You'll also need to git clone all related repositories into neighbor directories (next to the clone of this cami-workspace):

So the directory subtree should look like:

|
|-- some-common-immediate-parent
|   |
|   |-- ...
|   |-- cami
|   |-- cami-benches
|   |-- cami-helpers
|   |-- cami-helpers-testers
|   |-- cami-workspace
|   |-- ...

Then run cargo check, cargo check --tests --benches, cargo test, cargo bench... in this workspace (right under cami-workspace/).

Beware: cargo bench may have problems. See iai-callgrind/iai-callgrind#4.

GIT ergonomics

You can install mgitstatus. Then run the following in a directory one level above the clones of those repos (e.g. some-common-immediate-parent/): mgitstatus cami*, or mgitstatus -e cami* to exclude ones that are 'ok'.

About

Fast & cache-friendly binary & sequential search & comparison in Rust - local build & test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages