pub struct SourceSpec {
pub version: String,
pub tarball_url: String,
pub sha256: String,
pub dependencies: Vec<String>,
pub build_dependencies: Vec<String>,
pub macos_provided: Vec<String>,
}Expand description
Resolved source-build coordinates for a tool.
Fields§
§version: StringStable version string (e.g. 2.55.0).
tarball_url: StringURL of the source tarball.
sha256: StringThe source tarball’s sha256 (bare hex, sha256: prefix stripped). Empty
when the formula publishes no urls.stable.checksum.
dependencies: Vec<String>Runtime dependency formula names.
build_dependencies: Vec<String>Build-only dependency formula names.
macos_provided: Vec<String>Dependency names macOS itself provides (need no keg).
Trait Implementations§
Source§impl Clone for SourceSpec
impl Clone for SourceSpec
Source§fn clone(&self) -> SourceSpec
fn clone(&self) -> SourceSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SourceSpec
impl RefUnwindSafe for SourceSpec
impl Send for SourceSpec
impl Sync for SourceSpec
impl Unpin for SourceSpec
impl UnsafeUnpin for SourceSpec
impl UnwindSafe for SourceSpec
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