Cargo & manifest conventions
SkillDev toolsApply for build/test/lint, dependency or feature changes, and editing Cargo.toml or .cargo config in this repo.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Cargo & manifest conventions skill
What this skill tells your AI
The instructions your AI receives, as published by varfish-org/mehari in .claude/skills/cargo/SKILL.md and read by ahel’s review.
Layout
- Workspace (
resolver=3), one member:mehari/.mehari-python/is excluded (own[workspace]stub +Cargo.lock) — never add it to rootmembers. See python-bindings.
Commands
- Build
cargo build· testcargo test/cargo test --all-features· formatcargo fmt(checkcargo fmt -- --check) · lintcargo clippy --workspace --all-features· coveragecargo llvm-cov --all-features --workspace. - Run the binary:
cargo run -p mehari --bin mehari -- <args>. - Requires
protoc+ systemlibrocksdb-dev libsnappy-dev libsqlite3-dev.
Features
default = ["jemalloc", "server"].servergates actix/utoipa (+annonars/server);jemallocthe allocator;dhat-heapheap profiling;documentationdoc includes.
Manifest (TOML) conventions
- Keep
[dependencies]alphabetically ordered (match existing). - Use
workspace = trueinheritance where the workspace defines a dep; otherwise follow existing style. .cargo/config.tomlsetsROCKSDB_LIB_DIR/SNAPPY_LIB_DIR=/usr/lib/and a thumbv7em linker — don't remove/break these.- release-please owns the
versionfield — don't bump by hand. Thesync-lockfilesworkflow keeps root andmehari-python/Cargo.lockaligned on release PRs.
Trap
mehari/src/db/transcripts/create/build.rsis a regular module named build.rs, NOT a Cargo build script. The real build script ismehari/build.rs.
Signals
- GitHub stars
- 33
- Forks
- 2
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
cargo-varfish-org- Source
- github.com/varfish-org/mehari