pub struct DescriptorUnitSidecar {Show 29 fields
pub schema_version: u16,
pub cargo_unit_id: String,
pub cargo_manifest_path: Option<PathBuf>,
pub cargo_package_name: Option<String>,
pub cargo_package_version: Option<String>,
pub cargo_profile: Option<String>,
pub cargo_profile_fingerprint: String,
pub cargo_primary_package: bool,
pub cargo_extra_filename: Option<String>,
pub crate_name: String,
pub crate_types: Vec<String>,
pub target: Option<String>,
pub cfgs: Vec<String>,
pub features: Vec<String>,
pub source_hash: String,
pub package_source_closure_hash: String,
pub dependency_artifacts: BTreeMap<String, DescriptorDependencyArtifact>,
pub normalized_rustc_inputs_hash: String,
pub logical_environment_hash: String,
pub dep_info_path: String,
pub dep_info_working_directory: PathBuf,
pub out_dir: Option<String>,
pub out_dir_dependencies: Vec<DescriptorOutDirDependency>,
pub source_dependencies: Vec<DescriptorSourceDependency>,
pub environment_dependencies: Vec<DescriptorEnvironmentDependency>,
pub realized_environment_hash: String,
pub descriptor_codegen: DescriptorCodegenSidecar,
pub descriptor_object: String,
pub descriptor_object_hash: String,
}Fields§
§schema_version: u16Sidecar schema version.
cargo_unit_id: StringLowercase-hex descriptor Cargo-unit ID.
cargo_manifest_path: Option<PathBuf>Host-local Cargo manifest used only to join this sidecar to the exact compiler-artifact message from the same invocation.
cargo_package_name: Option<String>Cargo package name exposed to this rustc unit.
cargo_package_version: Option<String>Cargo package version exposed to this rustc unit.
cargo_profile: Option<String>Cargo profile exposed to this rustc unit.
cargo_profile_fingerprint: StringPhase-invariant hash of Cargo/rustc profile-affecting inputs.
cargo_primary_package: boolWhether Cargo marked this unit as belonging to a selected root package.
cargo_extra_filename: Option<String>Cargo’s exact -C extra-filename discriminator for this rustc unit.
crate_name: StringRust crate name.
crate_types: Vec<String>Normalized crate types.
target: Option<String>Effective target triple when rustc received one explicitly.
cfgs: Vec<String>Normalized rustc cfgs.
features: Vec<String>Cargo/rustc feature cfgs.
source_hash: StringContent hash of the exact primary source input.
package_source_closure_hash: StringHost-independent digest of the conservative package-local source closure used to derive this unit’s immutable identity.
dependency_artifacts: BTreeMap<String, DescriptorDependencyArtifact>Exact --extern inputs, keyed by extern name. Paths are host-local join
coordinates; only their content hashes participate in semantic unit
identity.
normalized_rustc_inputs_hash: StringHash of every normalized descriptor-phase rustc input.
logical_environment_hash: StringPhase-invariant identity of the semantic Cargo/build-script environment.
dep_info_path: StringDescriptor-target-relative dep-info path produced by this exact rustc invocation. The cache reopens this Cargo-authoritative file when Cargo reports the unit fresh.
dep_info_working_directory: PathBufExact canonical directory against which rustc spelled relative dep-info source paths during descriptor compilation.
out_dir: Option<String>Cargo-target-relative build-script output directory. This is a host-local cache coordinate and never enters the semantic unit key.
out_dir_dependencies: Vec<DescriptorOutDirDependency>Exact rustc-declared source dependencies consumed beneath OUT_DIR by
the successful descriptor compilation.
source_dependencies: Vec<DescriptorSourceDependency>Every other exact rustc-declared source dependency, retained under its canonical host-local absolute path.
environment_dependencies: Vec<DescriptorEnvironmentDependency>Every non-wrapper-owned environment dependency rustc declared. Values are domain-separated hashes; plaintext values never leave dep-info.
realized_environment_hash: StringPrivate generation fingerprint of the complete effective rustc environment, excluding only cargo-proa wrapper-control variables. Plaintext environment values are never persisted.
descriptor_codegen: DescriptorCodegenSidecarDescriptor-only codegen policy.
descriptor_object: StringStaging-directory-relative exact object path.
descriptor_object_hash: StringContent hash of the exact descriptor object.
Trait Implementations§
Source§impl Clone for DescriptorUnitSidecar
impl Clone for DescriptorUnitSidecar
Source§impl Debug for DescriptorUnitSidecar
impl Debug for DescriptorUnitSidecar
Source§impl<'de> Deserialize<'de> for DescriptorUnitSidecar
impl<'de> Deserialize<'de> for DescriptorUnitSidecar
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for DescriptorUnitSidecar
Source§impl PartialEq for DescriptorUnitSidecar
impl PartialEq for DescriptorUnitSidecar
Source§impl Serialize for DescriptorUnitSidecar
impl Serialize for DescriptorUnitSidecar
impl StructuralPartialEq for DescriptorUnitSidecar
Auto Trait Implementations§
impl Freeze for DescriptorUnitSidecar
impl RefUnwindSafe for DescriptorUnitSidecar
impl Send for DescriptorUnitSidecar
impl Sync for DescriptorUnitSidecar
impl Unpin for DescriptorUnitSidecar
impl UnsafeUnpin for DescriptorUnitSidecar
impl UnwindSafe for DescriptorUnitSidecar
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more