pub struct DepsGroup {
pub group: String,
pub required_platforms: Vec<String>,
pub pacman: Vec<String>,
pub apt: Vec<String>,
pub dnf: Vec<String>,
pub brew: Vec<String>,
pub scoop: Vec<String>,
pub winget: Vec<String>,
}Expand description
[[deps]] entry — one cross-distro dependency group.
Fields§
§group: StringGroup name (e.g. core, fonts).
required_platforms: Vec<String>Required platforms for this group. ["all"] or omitted = required
everywhere; otherwise restrict to listed OSes.
pacman: Vec<String>Packages on each manager. Empty list = unavailable on that manager.
apt: Vec<String>Packages on apt (Debian/Ubuntu).
dnf: Vec<String>Packages on dnf (Fedora/RHEL).
brew: Vec<String>Packages on brew (macOS).
scoop: Vec<String>Packages on scoop (Windows).
winget: Vec<String>Packages on winget (Windows).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DepsGroup
impl<'de> Deserialize<'de> for DepsGroup
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
Auto Trait Implementations§
impl Freeze for DepsGroup
impl RefUnwindSafe for DepsGroup
impl Send for DepsGroup
impl Sync for DepsGroup
impl Unpin for DepsGroup
impl UnsafeUnpin for DepsGroup
impl UnwindSafe for DepsGroup
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,
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>
Converts
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>
Converts
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