chore: update rust edition to 2024 and optimize release build settings (#339)

This commit is contained in:
1f2003d5
2025-05-24 16:49:59 +08:00
committed by GitHub
parent dac285f60d
commit c14e6a234b
3 changed files with 12 additions and 3 deletions

View File

@@ -2,6 +2,15 @@
resolver = "2"
members = [ "src-tauri" ]
[profile.release]
strip = true
opt-level = 3
codegen-units = 1
panic = "abort"
debug-assertions = false
overflow-checks = false
lto = true
[workspace.dependencies]
tauri = "2"
serde = "1"

View File

@@ -3,7 +3,7 @@ name = "bongo-cat"
version = "0.4.0"
description = "A Tauri App"
authors = [ "ayangweb" ]
edition = "2021"
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -3,8 +3,8 @@ name = "tauri-plugin-custom-window"
version = "0.1.0"
authors = []
description = ""
edition = "2021"
rust-version = "1.77.2"
edition = "2024"
rust-version = "1.85.0"
links = "tauri-plugin-custom-window"
[dependencies]