pub struct MacConfig {
pub frameworks: Option<Vec<String>>,
pub files: HashMap<PathBuf, PathBuf>,
pub minimum_system_version: Option<String>,
pub exception_domain: Option<String>,
pub signing_identity: Option<String>,
pub hardened_runtime: bool,
pub provider_short_name: Option<String>,
pub entitlements: Option<String>,
pub dmg: DmgConfig,
}
Expand description
Configuration for the macOS bundles.
Fields§
§frameworks: Option<Vec<String>>
A list of strings indicating any macOS X frameworks that need to be bundled with the application.
If a name is used, “.framework” must be omitted and it will look for standard install locations. You may also use a path to a specific framework.
files: HashMap<PathBuf, PathBuf>
The files to include in the application relative to the Contents directory.
minimum_system_version: Option<String>
A version string indicating the minimum macOS X version that the bundled application supports. Defaults to 10.13
.
Setting it to null
completely removes the LSMinimumSystemVersion
field on the bundle’s Info.plist
and the MACOSX_DEPLOYMENT_TARGET
environment variable.
An empty string is considered an invalid value so the default value is used.
exception_domain: Option<String>
Allows your application to communicate with the outside world. It should be a lowercase, without port and protocol domain name.
signing_identity: Option<String>
Identity to use for code signing.
hardened_runtime: bool
Whether the codesign should enable hardened runtime (for executables) or not.
provider_short_name: Option<String>
Provider short name for notarization.
entitlements: Option<String>
Path to the entitlements file.
dmg: DmgConfig
DMG-specific settings.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MacConfig
impl<'de> Deserialize<'de> for MacConfig
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 MacConfig
impl StructuralPartialEq for MacConfig
Auto Trait Implementations§
impl Freeze for MacConfig
impl RefUnwindSafe for MacConfig
impl Send for MacConfig
impl Sync for MacConfig
impl Unpin for MacConfig
impl UnwindSafe for MacConfig
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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.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.