Struct tauri_utils::config::DebConfig
source · pub struct DebConfig {
pub depends: Option<Vec<String>>,
pub provides: Option<Vec<String>>,
pub conflicts: Option<Vec<String>>,
pub replaces: Option<Vec<String>>,
pub files: HashMap<PathBuf, PathBuf>,
pub desktop_template: Option<PathBuf>,
pub section: Option<String>,
pub priority: Option<String>,
pub changelog: Option<PathBuf>,
}
Expand description
Configuration for Debian (.deb) bundles.
See more: https://tauri.app/v1/api/config#debconfig
Fields§
§depends: Option<Vec<String>>
The list of deb dependencies your application relies on.
provides: Option<Vec<String>>
The list of dependencies the package provides.
conflicts: Option<Vec<String>>
The list of package conflicts.
replaces: Option<Vec<String>>
The list of package replaces.
files: HashMap<PathBuf, PathBuf>
The files to include on the package.
desktop_template: Option<PathBuf>
Path to a custom desktop file Handlebars template.
Available variables: categories
, comment
(optional), exec
, icon
and name
.
section: Option<String>
Define the section in Debian Control file. See : https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
priority: Option<String>
Change the priority of the Debian Package. By default, it is set to optional
.
Recognized Priorities as of now are : required
, important
, standard
, optional
, extra
changelog: Option<PathBuf>
Path of the uncompressed Changelog file, to be stored at /usr/share/doc/package-name/changelog.gz. See https://www.debian.org/doc/debian-policy/ch-docs.html#changelog-files-and-release-notes
Trait Implementations§
source§impl<'de> Deserialize<'de> for DebConfig
impl<'de> Deserialize<'de> for DebConfig
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 DebConfig
impl StructuralPartialEq for DebConfig
Auto Trait Implementations§
impl Freeze for DebConfig
impl RefUnwindSafe for DebConfig
impl Send for DebConfig
impl Sync for DebConfig
impl Unpin for DebConfig
impl UnwindSafe for DebConfig
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.