Skip to content

Commit d13dcd9

Browse files
renovate[bot]renovate-botlucasfernog
authored
chore(deps) Update Tauri Bundler (#1045)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
1 parent 087c0e8 commit d13dcd9

4 files changed

Lines changed: 14 additions & 31 deletions

File tree

.changes/rust-update.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri": patch
3+
---
4+
5+
Update minimum Rust version to 1.42.0 due to a dependency update.

cli/tauri-bundler/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ strsim = "0.10.0"
3535
tar = "0.4"
3636
target_build_utils = "0.3"
3737
term = "0.6.1"
38-
toml = "0.5.6"
38+
toml = "0.5.7"
3939
uuid = { version = "0.8", features = [ "v5" ] }
4040
walkdir = "2"
4141
lazy_static = { version = "1.4" }
4242
handlebars = { version = "3.5" }
4343

4444
[target."cfg(target_os = \"windows\")".dependencies]
45-
attohttpc = { version = "0.15.0" }
45+
attohttpc = { version = "0.16.0" }
4646
regex = { version = "1" }
4747
runas = "0.2"
4848

cli/tauri-bundler/src/bundle/settings.rs

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -646,12 +646,7 @@ impl Settings {
646646

647647
/// Returns the bundle's identifier
648648
pub fn bundle_identifier(&self) -> &str {
649-
self
650-
.bundle_settings
651-
.identifier
652-
.as_ref()
653-
.map(String::as_str)
654-
.unwrap_or("")
649+
self.bundle_settings.identifier.as_deref().unwrap_or("")
655650
}
656651

657652
/// Returns an iterator over the icon files to be used for this bundle.
@@ -720,7 +715,7 @@ impl Settings {
720715

721716
/// Returns the copyright text.
722717
pub fn copyright_string(&self) -> Option<&str> {
723-
self.bundle_settings.copyright.as_ref().map(String::as_str)
718+
self.bundle_settings.copyright.as_deref()
724719
}
725720

726721
/// Returns the list of authors name.
@@ -743,12 +738,7 @@ impl Settings {
743738

744739
/// Returns the package's homepage URL, defaulting to "" if not defined.
745740
pub fn homepage_url(&self) -> &str {
746-
&self
747-
.package
748-
.homepage
749-
.as_ref()
750-
.map(String::as_str)
751-
.unwrap_or("")
741+
&self.package.homepage.as_deref().unwrap_or("")
752742
}
753743

754744
/// Returns the app's category.
@@ -767,11 +757,7 @@ impl Settings {
767757

768758
/// Returns the app's long description.
769759
pub fn long_description(&self) -> Option<&str> {
770-
self
771-
.bundle_settings
772-
.long_description
773-
.as_ref()
774-
.map(String::as_str)
760+
self.bundle_settings.long_description.as_deref()
775761
}
776762

777763
/// Returns the dependencies of the debian bundle.
@@ -797,20 +783,12 @@ impl Settings {
797783

798784
/// Returns the minimum system version of the macOS bundle.
799785
pub fn osx_minimum_system_version(&self) -> Option<&str> {
800-
self
801-
.bundle_settings
802-
.osx_minimum_system_version
803-
.as_ref()
804-
.map(String::as_str)
786+
self.bundle_settings.osx_minimum_system_version.as_deref()
805787
}
806788

807789
/// Returns the path to the DMG bundle license.
808790
pub fn osx_license(&self) -> Option<&str> {
809-
self
810-
.bundle_settings
811-
.osx_license
812-
.as_ref()
813-
.map(String::as_str)
791+
self.bundle_settings.osx_license.as_deref()
814792
}
815793

816794
/// Returns whether the macOS .app bundle should use the bootstrap script or not.

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.41.0
1+
1.42.0

0 commit comments

Comments
 (0)