Skip to main content

Crate nexcore_build_gate

Crate nexcore_build_gate 

Source
Expand description

§NexVigilant Core — build-gate

Cargo build coordination for multi-agent environments.

Prevents concurrent cargo operations and skips redundant builds via content hashing.

Structs§

BuildLock
A guard that holds the build lock
BuildResult
Cache build result

Enums§

GateError
Build gate errors
LockStatus
Lock status

Traits§

FileExt
Extension trait for std::fs::File which provides allocation, duplication and locking methods.

Functions§

find_workspace_root
Get workspace root (looks for Cargo.toml with [workspace])
hash_source_dir
Compute SHA-256 hash of source files in a directory
lock_status
Get current lock status
record_build
Record successful build hash
run_cargo
Run cargo command with coordination
should_build
Check if build is necessary based on cached hash

Type Aliases§

Result
Result type for build gate operations