pub struct ScoopConfig {Show 18 fields
pub repository: Option<RepositoryConfig>,
pub commit_author: Option<CommitAuthorConfig>,
pub name: Option<String>,
pub directory: Option<String>,
pub description: Option<String>,
pub license: Option<String>,
pub homepage: Option<String>,
pub persist: Option<Vec<String>>,
pub depends: Option<Vec<String>>,
pub pre_install: Option<Vec<String>>,
pub post_install: Option<Vec<String>>,
pub shortcuts: Option<Vec<Vec<String>>>,
pub skip_upload: Option<StringOrBool>,
pub commit_msg_template: Option<String>,
pub ids: Option<Vec<String>>,
pub url_template: Option<String>,
pub use_artifact: Option<String>,
pub amd64_variant: Option<String>,
}Fields§
§repository: Option<RepositoryConfig>Unified repository config with branch, token, PR, git SSH support.
(Replaces the legacy bucket: BucketConfig owner/name-only form.)
Commit author with optional signing.
name: Option<String>Override the manifest name (default: crate name).
directory: Option<String>Subdirectory in the bucket repo for manifest placement.
description: Option<String>Short description of the package (shown in scoop info).
license: Option<String>SPDX license identifier (e.g., “MIT”, “Apache-2.0”).
homepage: Option<String>Project homepage URL. Falls back to the GitHub-derived URL when unset.
persist: Option<Vec<String>>Data paths persisted between Scoop updates.
depends: Option<Vec<String>>Application dependencies (other Scoop packages).
pre_install: Option<Vec<String>>Commands to run before installation.
post_install: Option<Vec<String>>Commands to run after installation.
shortcuts: Option<Vec<Vec<String>>>Start menu shortcuts as [executable, label] pairs.
skip_upload: Option<StringOrBool>Skip publishing the manifest. "true" always skips; "auto" skips
for prerelease versions. Accepts bool or template string.
commit_msg_template: Option<String>Custom commit message 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).
use_artifact: Option<String>Artifact selection: “archive” (default), “msi”, or “nsis”.
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 Clone for ScoopConfig
impl Clone for ScoopConfig
Source§fn clone(&self) -> ScoopConfig
fn clone(&self) -> ScoopConfig
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 ScoopConfig
impl Debug for ScoopConfig
Source§impl Default for ScoopConfig
impl Default for ScoopConfig
Source§fn default() -> ScoopConfig
fn default() -> ScoopConfig
Source§impl<'de> Deserialize<'de> for ScoopConfigwhere
ScoopConfig: Default,
impl<'de> Deserialize<'de> for ScoopConfigwhere
ScoopConfig: 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 ScoopConfig
impl JsonSchema for ScoopConfig
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