feat: upgrade to tauri 2.0
Steps taken: 1. install tauri via cargo install tauri-cli 2. see errors when running cargo tauri build 3. run cargo tauri migrate as recommended by docs https://tauri.app/start/migrate/from-tauri-1/ 4. manually fix some .ts includes as recommeneded by docs https://tauri.app/start/migrate/from-tauri-1/#migrate-to-core-module 5. successfully build using cargo tauri build
This commit is contained in:
parent
60728f1699
commit
da7fd268b6
8 changed files with 965 additions and 575 deletions
|
|
@ -10,10 +10,10 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { version = "1.5", features = [] }
|
||||
tauri-build = { version = "2", features = [] }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "1.6.7", features = ["shell-open"] }
|
||||
tauri = { version = "2", features = [] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
librqbit = { path = "../../crates/librqbit", features = [
|
||||
|
|
@ -32,6 +32,7 @@ tracing = "0.1"
|
|||
serde_with = "3.4.0"
|
||||
parking_lot = "0.12.1"
|
||||
gethostname = "0.5.0"
|
||||
tauri-plugin-shell = "2"
|
||||
|
||||
[features]
|
||||
# this feature is used for production builds or when `devPath` points to the filesystem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue