pub struct AurConfig {Show 26 fields
pub name: Option<String>,
pub ids: Option<Vec<String>>,
pub commit_author: Option<CommitAuthorConfig>,
pub commit_msg_template: Option<String>,
pub description: Option<String>,
pub homepage: Option<String>,
pub license: Option<String>,
pub skip_upload: Option<StringOrBool>,
pub url_template: Option<String>,
pub maintainers: Option<Vec<String>>,
pub contributors: Option<Vec<String>>,
pub provides: Option<Vec<String>>,
pub conflicts: Option<Vec<String>>,
pub depends: Option<Vec<String>>,
pub optdepends: Option<Vec<String>>,
pub backup: Option<Vec<String>>,
pub rel: Option<String>,
pub package: Option<String>,
pub git_url: Option<String>,
pub git_ssh_command: Option<String>,
pub private_key: Option<String>,
pub directory: Option<String>,
pub skip: Option<StringOrBool>,
pub install: Option<String>,
pub replaces: Option<Vec<String>>,
pub amd64_variant: Option<String>,
}Fields§
§name: Option<String>Override the package name (default: crate name + “-bin”).
ids: Option<Vec<String>>Build IDs filter: only include artifacts whose id is in this list.
Commit author with optional signing.
commit_msg_template: Option<String>Custom commit message template. Default: “Update to {{ version }}”.
description: Option<String>Short description of the package for PKGBUILD.
homepage: Option<String>Project homepage URL.
license: Option<String>SPDX license identifier (e.g., “MIT”, “Apache-2.0”).
skip_upload: Option<StringOrBool>Skip publishing. "true" always skips; "auto" skips for prereleases.
Accepts bool or template string.
url_template: Option<String>Custom URL template for download URLs (overrides release URL).
maintainers: Option<Vec<String>>PKGBUILD maintainer entries (e.g., “Name email@example.com”).
contributors: Option<Vec<String>>Contributors listed in PKGBUILD comments.
provides: Option<Vec<String>>Packages this PKGBUILD provides (virtual package names).
conflicts: Option<Vec<String>>Packages this PKGBUILD conflicts with.
depends: Option<Vec<String>>Runtime dependencies required by this package.
optdepends: Option<Vec<String>>Optional dependencies with descriptions (e.g., “fzf: fuzzy finder support”).
backup: Option<Vec<String>>List of config files to preserve on upgrade (relative to /).
rel: Option<String>Package release number (default: “1”).
package: Option<String>Custom PKGBUILD package() function body.
git_url: Option<String>AUR SSH git URL (e.g., ssh://aur@aur.archlinux.org/<package>.git).
git_ssh_command: Option<String>Custom SSH command for git operations.
private_key: Option<String>Path to SSH private key file.
directory: Option<String>Subdirectory in the git repo for committed files.
skip: Option<StringOrBool>Skip this AUR config. Accepts bool or template string
(e.g. "{{ if .IsSnapshot }}true{{ endif }}" for conditional skip).
install: Option<String>Content for a .install file (post-install/pre-remove scripts).
replaces: Option<Vec<String>>Packages this PKGBUILD replaces (for upgrade paths from old package names).
amd64_variant: Option<String>amd64 microarchitecture variant filter (e.g. “v1”, “v2”, “v3”, “v4”). Only artifacts matching this variant are included. Default: “v1”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AurConfig
impl<'de> Deserialize<'de> for AurConfig
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 AurConfig
impl JsonSchema for AurConfig
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