pub struct DependencyLock {
pub name: String,
pub source: String,
pub original_source: String,
pub git_url: String,
pub resolved_reference: String,
pub commit_sha: String,
pub cache_location: String,
pub integrity: String,
pub version: String,
}Expand description
One locked dependency entry (M35.0 / M35.1 / M35.2).
Mirrors a resolved [dependencies.*] entry from .sdkt.toml. Local path
deps record nothing but their source kind and absolute-ish path; Git deps
record the URL, the requested reference, the resolved commit SHA (when
known), the on-disk cache location, and an integrity hash of the cached
checkout when available. This is the seam where a future registry source
would add its own fields.
Fields§
§name: StringDependency name (key under [dependencies]).
source: StringSource kind: local or git.
original_source: StringOriginal source specifier as declared in .sdkt.toml:
the local path (path deps) or the git URL (git deps).
git_url: StringGit remote URL (empty for local path deps).
resolved_reference: StringRequested reference: tag/branch/rev value (empty for path deps).
commit_sha: StringResolved commit SHA (empty if not available / not a Git dep).
cache_location: StringOn-disk cache location for the resolved source (relative to the workspace root when sensible). Empty when not materialized.
integrity: StringIntegrity hash (“sha256:
version: StringOptional semver version constraint declared for this git dependency
(M37). Empty when none. Recorded for reproducibility / audit; an explicit
tag/branch/rev reference takes precedence over the constraint.
Trait Implementations§
Source§impl Clone for DependencyLock
impl Clone for DependencyLock
Source§fn clone(&self) -> DependencyLock
fn clone(&self) -> DependencyLock
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DependencyLock
impl Debug for DependencyLock
Source§impl Default for DependencyLock
impl Default for DependencyLock
Source§fn default() -> DependencyLock
fn default() -> DependencyLock
Source§impl<'de> Deserialize<'de> for DependencyLock
impl<'de> Deserialize<'de> for DependencyLock
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 DependencyLock
Source§impl PartialEq for DependencyLock
impl PartialEq for DependencyLock
Source§impl Serialize for DependencyLock
impl Serialize for DependencyLock
impl StructuralPartialEq for DependencyLock
Auto Trait Implementations§
impl Freeze for DependencyLock
impl RefUnwindSafe for DependencyLock
impl Send for DependencyLock
impl Sync for DependencyLock
impl Unpin for DependencyLock
impl UnsafeUnpin for DependencyLock
impl UnwindSafe for DependencyLock
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.