pub struct HomebrewConfig {Show 27 fields
pub repository: Option<RepositoryConfig>,
pub commit_author: Option<CommitAuthorConfig>,
pub directory: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub license: Option<String>,
pub install: Option<String>,
pub extra_install: Option<String>,
pub post_install: Option<String>,
pub test: Option<String>,
pub homepage: Option<String>,
pub dependencies: Option<Vec<HomebrewDependency>>,
pub conflicts: Option<Vec<HomebrewConflict>>,
pub caveats: Option<String>,
pub skip_upload: Option<StringOrBool>,
pub commit_msg_template: Option<String>,
pub ids: Option<Vec<String>>,
pub url_template: Option<String>,
pub url_headers: Option<Vec<String>>,
pub download_strategy: Option<String>,
pub custom_require: Option<String>,
pub custom_block: Option<String>,
pub plist: Option<String>,
pub service: Option<String>,
pub cask: Option<HomebrewCaskConfig>,
pub amd64_variant: Option<String>,
pub arm_variant: Option<String>,
}Fields§
§repository: Option<RepositoryConfig>Unified repository config with branch, token, PR, git SSH support.
(Replaces the legacy tap: TapConfig owner/name-only form.)
Commit author with optional signing.
directory: Option<String>Formula directory in the tap (e.g. “Formula”). Matches GoReleaser directory.
name: Option<String>Override the formula name (default: crate name).
description: Option<String>Short description of the formula (shown in brew info).
license: Option<String>SPDX license identifier (e.g., “MIT”, “Apache-2.0”).
install: Option<String>Ruby install block content for the formula.
extra_install: Option<String>Additional install commands appended after the main install block.
post_install: Option<String>Post-install commands (separate def post_install block in formula).
test: Option<String>Ruby test block content for the formula (run by brew test).
homepage: Option<String>Project homepage URL. Falls back to the GitHub release URL when unset.
dependencies: Option<Vec<HomebrewDependency>>Package dependencies (e.g. openssl, libgit2).
conflicts: Option<Vec<HomebrewConflict>>Conflicting formula names with optional reason.
caveats: Option<String>Post-install user-facing notes shown by brew info.
skip_upload: Option<StringOrBool>Skip publishing the formula. "true" always skips; "auto" skips
for prerelease versions. Accepts bool or template string.
commit_msg_template: Option<String>Custom commit message template. Rendered via Tera with the standard
release template variables (ProjectName, Tag, Version, etc.).
Default: "Brew formula update for {{ ProjectName }} version {{ Tag }}"
(set in crates/stage-publish/src/homebrew.rs::default_commit_msg_template).
ids: Option<Vec<String>>Build IDs filter: only include artifacts whose id is in this list.
url_template: Option<String>Custom URL template for download URLs (overrides release URL).
url_headers: Option<Vec<String>>HTTP headers to include in download requests (e.g. for private repos).
download_strategy: Option<String>Custom download strategy class name (e.g. :using => GitHubPrivateRepositoryReleaseDownloadStrategy).
custom_require: Option<String>Ruby require statement for custom download strategies.
custom_block: Option<String>Custom Ruby code block inserted into the formula class body.
plist: Option<String>Launchd plist content for brew services.
service: Option<String>Homebrew service block content (alternative to plist).
cask: Option<HomebrewCaskConfig>Homebrew Cask configuration (macOS .app bundles).
amd64_variant: Option<String>amd64 microarchitecture variant filter (e.g. “v1”, “v2”, “v3”, “v4”). Only artifacts matching this variant are included. Default: “v1”.
arm_variant: Option<String>ARM version filter (e.g. “6”, “7”). Only artifacts matching this variant are included.
Trait Implementations§
Source§impl Clone for HomebrewConfig
impl Clone for HomebrewConfig
Source§fn clone(&self) -> HomebrewConfig
fn clone(&self) -> HomebrewConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HomebrewConfig
impl Debug for HomebrewConfig
Source§impl Default for HomebrewConfig
impl Default for HomebrewConfig
Source§fn default() -> HomebrewConfig
fn default() -> HomebrewConfig
Source§impl<'de> Deserialize<'de> for HomebrewConfigwhere
HomebrewConfig: Default,
impl<'de> Deserialize<'de> for HomebrewConfigwhere
HomebrewConfig: Default,
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>,
Source§impl JsonSchema for HomebrewConfig
impl JsonSchema for HomebrewConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more