pub struct NsisConfig {
pub id: Option<String>,
pub ids: Option<Vec<String>>,
pub name: Option<String>,
pub script: Option<String>,
pub extra_files: Option<Vec<ExtraFileSpec>>,
pub templated_extra_files: Option<Vec<TemplatedExtraFile>>,
pub skip: Option<StringOrBool>,
pub amd64_variant: Option<String>,
pub replace: Option<bool>,
pub mod_timestamp: Option<String>,
pub if_condition: Option<String>,
}Fields§
§id: Option<String>Unique identifier for this NSIS config.
ids: Option<Vec<String>>Build IDs to include. Empty means all builds.
name: Option<String>Output installer filename (supports templates).
script: Option<String>Path to the NSIS script template (.nsi). Goes through template engine.
extra_files: Option<Vec<ExtraFileSpec>>Additional files to include alongside the installer (glob or {glob, name_template}).
templated_extra_files: Option<Vec<TemplatedExtraFile>>Extra files whose contents are rendered through the template engine before inclusion.
Unlike extra_files which copy as-is, template variables like {{ Tag }} are expanded.
Conditional-skip gate.
skip: Option<StringOrBool>Skip this NSIS config. Accepts bool or template string.
Accepts the legacy disable: spelling via serde alias for back-compat
with imported configs.
amd64_variant: Option<String>amd64 microarchitecture variant filter (v1 / v2 / v3 / v4),
set via the amd64_variant: key. When set, only artifacts with the
matching amd64_variant metadata are included. The legacy goamd64:
spelling is accepted via serde alias for back-compat with imported
configs.
replace: Option<bool>Remove source archives from artifacts, keeping only the installer.
mod_timestamp: Option<String>Output timestamp for reproducible builds.
if_condition: Option<String>Template-conditional: skip this NSIS config if rendered result is “false” or empty. Render failure hard-errors (not silent-skip).
Trait Implementations§
Source§impl Clone for NsisConfig
impl Clone for NsisConfig
Source§fn clone(&self) -> NsisConfig
fn clone(&self) -> NsisConfig
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 NsisConfig
impl Debug for NsisConfig
Source§impl Default for NsisConfig
impl Default for NsisConfig
Source§fn default() -> NsisConfig
fn default() -> NsisConfig
Source§impl<'de> Deserialize<'de> for NsisConfigwhere
NsisConfig: Default,
impl<'de> Deserialize<'de> for NsisConfigwhere
NsisConfig: 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 NsisConfig
impl JsonSchema for NsisConfig
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