pub struct ChocolateyConfig {Show 22 fields
pub name: Option<String>,
pub id: Option<String>,
pub title: Option<String>,
pub authors: Option<String>,
pub description: Option<String>,
pub summary: Option<String>,
pub project_url: Option<String>,
pub license_url: Option<String>,
pub icon_url: Option<String>,
pub package_source_url: Option<String>,
pub docs_url: Option<String>,
pub bug_tracker_url: Option<String>,
pub project_source_url: Option<String>,
pub tags: Option<String>,
pub release_notes_url: Option<String>,
pub download_repo: String,
pub archive_pattern: String,
pub push: ChocolateyPushConfig,
pub nix_tool: String,
pub api_key_env: String,
pub api_key_secret: String,
pub api_key_from_runner: bool,
}Fields§
§name: Option<String>Chocolatey package display name; if omitted, derived from Cargo package name.
id: Option<String>Nuspec package identifier; if omitted, derived from the resolved name.
title: Option<String>Nuspec title; if omitted, derived from the resolved name.
Nuspec authors. If omitted, derived from Cargo package authors when available.
description: Option<String>Nuspec description. If omitted, derived from Cargo metadata.
summary: Option<String>Nuspec summary.
project_url: Option<String>Project URL. If omitted, derived from Cargo package homepage.
license_url: Option<String>License URL.
icon_url: Option<String>Package icon URL.
package_source_url: Option<String>URL for the package source.
docs_url: Option<String>Documentation URL.
bug_tracker_url: Option<String>Bug tracker URL.
project_source_url: Option<String>Project source URL.
Space-separated Chocolatey tags.
release_notes_url: Option<String>Release notes URL.
download_repo: StringCodeberg/GitHub <owner>/<repo> for release downloads.
archive_pattern: StringArchive filename pattern with {name}, {version}, {arch}.
push: ChocolateyPushConfigChocolatey push settings.
nix_tool: Stringnix shell packages providing choco (and simit) for the generated
release step. Lets a project point at a fork that already ships the
chocolatey package — e.g.
github:caniko/nixpkgs/add-chocolatey-scoop#chocolatey github:caniko/simit
— until it lands in upstream nixpkgs. Defaults to nixpkgs#chocolatey.
api_key_env: StringEnv var the publish step reads the push API key from (passed to
--api-key-env). Defaults to CHOCOLATEY_API_KEY.
api_key_secret: StringActions secret sourced into api_key_env. Defaults to
chocolatey_api_key. Ignored when api_key_from_runner is true.
api_key_from_runner: boolWhen true, do not source the key from an Actions secret — assume the
forge runner already provides api_key_env in the job environment (e.g.
a Forgejo runner credential exposed as a container env var).
Trait Implementations§
Source§impl Clone for ChocolateyConfig
impl Clone for ChocolateyConfig
Source§fn clone(&self) -> ChocolateyConfig
fn clone(&self) -> ChocolateyConfig
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 ChocolateyConfig
impl Debug for ChocolateyConfig
Source§impl<'de> Deserialize<'de> for ChocolateyConfig
impl<'de> Deserialize<'de> for ChocolateyConfig
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>,
impl Eq for ChocolateyConfig
Source§impl PartialEq for ChocolateyConfig
impl PartialEq for ChocolateyConfig
impl StructuralPartialEq for ChocolateyConfig
Auto Trait Implementations§
impl Freeze for ChocolateyConfig
impl RefUnwindSafe for ChocolateyConfig
impl Send for ChocolateyConfig
impl Sync for ChocolateyConfig
impl Unpin for ChocolateyConfig
impl UnsafeUnpin for ChocolateyConfig
impl UnwindSafe for ChocolateyConfig
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
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
key and return true if they are equal.