pub struct HomebrewConfig {
pub name: Option<String>,
pub binaries: Vec<String>,
pub tap_url: String,
pub tap_token_secret: String,
pub description: Option<String>,
pub homepage: Option<String>,
pub license: Option<String>,
pub download_repo: String,
pub archive_pattern: String,
pub platforms: HomebrewPlatformsConfig,
}Fields§
§name: Option<String>Formula name; if omitted, derived from Cargo package name.
binaries: Vec<String>Binaries to install. If omitted, defaults to [name].
tap_url: StringTap repo URL. Required when [homebrew] is present.
tap_token_secret: StringActions secret sourced into HOMEBREW_TAP_TOKEN.
description: Option<String>Description for the formula. If omitted, derived from Cargo metadata.
homepage: Option<String>Homepage URL. If omitted, derived from Cargo metadata.
license: Option<String>SPDX license identifier. If omitted, derived from Cargo metadata.
download_repo: StringCodeberg/GitHub <owner>/<repo> for release downloads.
archive_pattern: StringArchive filename pattern with {name}, {version}, {arch}, {os}.
platforms: HomebrewPlatformsConfigPer-platform enable flags. Each defaults to true.
Trait Implementations§
Source§impl Clone for HomebrewConfig
impl Clone for HomebrewConfig
Source§fn clone(&self) -> HomebrewConfig
fn clone(&self) -> HomebrewConfig
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 moreSource§impl Debug for HomebrewConfig
impl Debug for HomebrewConfig
Source§impl<'de> Deserialize<'de> for HomebrewConfig
impl<'de> Deserialize<'de> for HomebrewConfig
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 HomebrewConfig
Source§impl PartialEq for HomebrewConfig
impl PartialEq for HomebrewConfig
impl StructuralPartialEq for HomebrewConfig
Auto Trait Implementations§
impl Freeze for HomebrewConfig
impl RefUnwindSafe for HomebrewConfig
impl Send for HomebrewConfig
impl Sync for HomebrewConfig
impl Unpin for HomebrewConfig
impl UnsafeUnpin for HomebrewConfig
impl UnwindSafe for HomebrewConfig
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.