pub struct BuildManifest {
pub package: PackageIdentity,
pub features: Vec<String>,
pub dependencies: Vec<ManifestDep>,
pub closure: Vec<ClosureFile>,
pub registry: RegistryState,
}Expand description
A machine-readable account of a linked build: the local package identity,
feature selection, every resolved dependency, the transitive closure (each
linked .lg file tagged with its source dependency), and the registry state.
Fields§
§package: PackageIdentity§features: Vec<String>The selected feature set. Empty today (LOGOS projects declare no cargo features), but the key is stable so tooling can rely on it.
dependencies: Vec<ManifestDep>Every resolved path/git dependency.
closure: Vec<ClosureFile>The transitive closure: every linked .lg file with its source dep.
registry: RegistryStateWhether a registry was accessed (always false for a local closure).
Implementations§
Trait Implementations§
Source§impl Clone for BuildManifest
impl Clone for BuildManifest
Source§fn clone(&self) -> BuildManifest
fn clone(&self) -> BuildManifest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuildManifest
impl Debug for BuildManifest
Auto Trait Implementations§
impl Freeze for BuildManifest
impl RefUnwindSafe for BuildManifest
impl Send for BuildManifest
impl Sync for BuildManifest
impl Unpin for BuildManifest
impl UnsafeUnpin for BuildManifest
impl UnwindSafe for BuildManifest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.