rqbit/desktop/src-tauri/Cargo.toml
pasta da7fd268b6
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
2024-10-02 14:30:28 -05:00

40 lines
1.1 KiB
TOML

[package]
name = "rqbit-desktop"
version = "7.1.0"
description = "rqbit torrent client"
authors = ["you"]
license = ""
repository = ""
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
librqbit = { path = "../../crates/librqbit", features = [
"tracing-subscriber-utils",
"http-api",
"webui",
"upnp-serve-adapter",
] }
tokio = { version = "1.34.0", features = ["rt-multi-thread"] }
anyhow = "1.0.75"
base64 = "0.22"
http = "1.0.0"
directories = "5.0.1"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
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
# DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]