chore: setup tauri

This commit is contained in:
reya
2024-07-23 13:33:48 +07:00
parent 8ae1368419
commit 462837565e
10 changed files with 1931 additions and 24 deletions

View File

@@ -11,8 +11,35 @@ edition = "2021"
tauri-build = { version = "2.0.0-beta", features = [] }
[dependencies]
tauri = { version = "2.0.0-beta", features = [] }
nostr-sdk = { version = "0.33", features = ["sqlite"] }
tauri = { version = "2.0.0-beta", features = [
"tray-icon",
"macos-private-api",
"protocol-asset",
] }
tauri-plugin-shell = "2.0.0-beta"
tauri-plugin-decorum = "0.1.5"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
keyring = { version = "3", features = [
"apple-native",
"windows-native",
"linux-native",
] }
keyring-search = "1.2.0"
itertools = "0.13.0"
[target.'cfg(target_os = "macos")'.dependencies]
border = { git = "https://github.com/ahkohd/tauri-toolkit", branch = "v2" }
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
incremental = false
opt-level = "z"
strip = true
rpath = false
debug = false
debug-assertions = false
overflow-checks = false