pub struct BundleConfig {
pub windows_installer: String,
pub macos_bundle_id: Option<String>,
pub linux_packages: Vec<String>,
pub icon: Option<String>,
pub macos_sign: bool,
pub macos_dmg: bool,
pub copyright: Option<String>,
}Expand description
Bundle configuration for packaging the app.
Fields§
§windows_installer: StringWindows installer format: “nsis”, “wix”, or “both”
macos_bundle_id: Option<String>macOS bundle identifier
linux_packages: Vec<String>Linux package formats: “appimage”, “deb”, “rpm”, or combinations
icon: Option<String>Icon path (relative to project root)
macos_sign: boolWhether to code-sign on macOS
macos_dmg: boolWhether to create a DMG on macOS
copyright: Option<String>Copyright notice
Trait Implementations§
Source§impl Clone for BundleConfig
impl Clone for BundleConfig
Source§fn clone(&self) -> BundleConfig
fn clone(&self) -> BundleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BundleConfig
impl Debug for BundleConfig
Source§impl Default for BundleConfig
impl Default for BundleConfig
Source§impl<'de> Deserialize<'de> for BundleConfig
impl<'de> Deserialize<'de> for BundleConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BundleConfig
impl RefUnwindSafe for BundleConfig
impl Send for BundleConfig
impl Sync for BundleConfig
impl Unpin for BundleConfig
impl UnsafeUnpin for BundleConfig
impl UnwindSafe for BundleConfig
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
Mutably borrows from an owned value. Read more