Skip to content

Commit

Permalink
chore: optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
cecilia-sanare committed Jan 26, 2024
1 parent 4935ba4 commit eebf936
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 85 deletions.
78 changes: 1 addition & 77 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "devkit-app"
version = "0.1.0"
version = "0.1.1"
description = "A kit of local-only utilities~"
authors = ["Rainbow Cafe"]
license = "MIT"
Expand All @@ -13,11 +13,18 @@ edition = "2021"
tauri-build = { version = "1.5", features = [] }

[dependencies]
tauri = { version = "1.5", features = ["shell-open"] }
tauri = { version = "1.5", features = [] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

[features]
# this feature is used for production builds or when `devPath` points to the filesystem
# DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]

[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = "s" # Optimize for binary size
strip = true # Remove debug symbols
8 changes: 2 additions & 6 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@
},
"package": {
"productName": "Devkit",
"version": "0.1.0"
"version": "0.1.1"
},
"tauri": {
"allowlist": {
"all": false,
"shell": {
"all": false,
"open": true
}
"all": false
},
"bundle": {
"active": true,
Expand Down

0 comments on commit eebf936

Please sign in to comment.