mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 15:08:24 +00:00
grasp-audit had its own Cargo.lock and flake.nix while also being declared
a member of the root workspace. This dual model let the lockfiles drift:
the root resolved nostr-sdk 0.45.0-alpha.1 while grasp-audit's own lock was
stale at 0.43.0, despite both declaring the same version.
Collapse to a true single workspace:
- Remove grasp-audit/{Cargo.lock,flake.nix,flake.lock}; the root Cargo.lock
and flake now cover both crates.
- Root flake exposes packages.ngit-grasp and packages.grasp-audit (built via
cargo -p), with packages.default = ngit-grasp. Single dev shell gains
gitlint.
- Drop the redundant grasp-audit/target/ (cargo resolves to the root target).
- Update .gitignore, AGENTS.md, README.md, and test-ngit-relay.sh comment to
describe the single-workspace model (cargo build -p grasp-audit, no cd).
The coupling stays one-directional (ngit-grasp dev-deps use grasp-audit; the
reverse never existed), keeping the door open to split grasp-audit out later.
Not published to crates.io.
Verified: cargo build --workspace, cargo test -p {ngit-grasp,grasp-audit}
--lib (440 + 36 pass), nix build .#ngit-grasp and .#grasp-audit.
22 lines
392 B
Plaintext
22 lines
392 B
Plaintext
# AI assistant context
|
|
.ai/
|
|
|
|
# Rust build artifacts (single workspace target at repo root)
|
|
target/
|
|
|
|
# Working directory (session-specific temporary files)
|
|
work/*
|
|
!work/README.md
|
|
|
|
# Test runs (production sync testing data and logs)
|
|
tmp/
|
|
|
|
# Environment and data
|
|
.env
|
|
data/
|
|
|
|
# Relay operator private key (auto-generated if not present)
|
|
.relay-owner.nsec
|
|
|
|
# direnv directory - used by nix
|
|
.direnv |