pub struct Source {
pub path: Utf8PathBuf,
pub tech: Option<&'static str>,
pub name: Option<String>,
pub version: Option<String>,
pub bins: Vec<String>,
pub owner_repo: Option<String>,
pub host: Option<String>,
pub flake_package: bool,
pub dist_github: bool,
pub binstall_github: bool,
pub tag_style: TagStyle,
pub channels: Vec<ChannelEvidence>,
}Expand description
Everything the offline pass reads from the source.
Fields§
§path: Utf8PathBufThe checkout, canonical.
tech: Option<&'static str>rust, python, node, or bash, where a manifest says.
name: Option<String>The package name.
version: Option<String>The declared version.
bins: Vec<String>The executables the package installs.
owner_repo: Option<String>owner/repo, from the remote or the manifest.
host: Option<String>The remote’s host.
flake_package: boolWhether flake.nix serves a package output.
dist_github: boolWhether dist-workspace.toml declares GitHub as its CI and does
not send hosting elsewhere.
binstall_github: boolWhether the manifest carries binstall metadata whose package URL is the GitHub release default, or names GitHub.
tag_style: TagStyleThe shape of the release tags.
channels: Vec<ChannelEvidence>The viable channels, in the closed order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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