Expand description
Cargo invocation resolution shared by mbx and embedded cache clients.
This crate is intentionally unstable while the first embedders converge. Breaking changes are made in a new pre-1.0 minor release.
Structs§
- Cargo
Invocation - Cargo-resolved roots and the stable prediction-manifest identity for one invocation.
Functions§
- build_
identity - Derive the prediction-manifest identity used by mbx for a Cargo command.
- cache_
root - Resolve the shared mbx cache root from the environment, machine config, or platform default.
- manifest_
in_ scope - Whether Cargo has a manifest to work from here.
- previous_
build_ identities - The identities recorded for earlier states of this workspace’s
Cargo.lock, newest first. - resolve
- Resolve one Cargo invocation exactly enough for a cache session.
- resolve_
reported - Resolve one Cargo invocation only when Cargo successfully reports its roots.