pub struct OutDirFile {
pub relative_path: String,
pub sha256: String,
}Expand description
One file from the build script’s OUT_DIR, listed by path and digest.
The bytes live in the bundle’s native archive layer, not here. They used to
be hex-encoded inline in crate::bundle::ArtifactBlobConfig, which the
edge writes twice per bundle and never compresses: jemalloc-sys’ ~333 MB
OUT_DIR became a 1.27 GB download, against 136.8 MB for every compiled
output of fd’s entire dependency graph put together.
Fields§
§relative_path: StringPath relative to OUT_DIR.
sha256: StringSHA-256 of the file’s bytes, hex-encoded.
Trait Implementations§
Source§impl Clone for OutDirFile
impl Clone for OutDirFile
Source§impl Debug for OutDirFile
impl Debug for OutDirFile
Source§impl<'de> Deserialize<'de> for OutDirFile
impl<'de> Deserialize<'de> for OutDirFile
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OutDirFile
Source§impl PartialEq for OutDirFile
impl PartialEq for OutDirFile
Source§impl Serialize for OutDirFile
impl Serialize for OutDirFile
impl StructuralPartialEq for OutDirFile
Auto Trait Implementations§
impl Freeze for OutDirFile
impl RefUnwindSafe for OutDirFile
impl Send for OutDirFile
impl Sync for OutDirFile
impl Unpin for OutDirFile
impl UnsafeUnpin for OutDirFile
impl UnwindSafe for OutDirFile
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> 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
Compare self to
key and return true if they are equal.