Without this feature, Tauri falls back to devUrl even in release builds. The tauri CLI adds it automatically but direct cargo builds need it in Cargo.toml.
26 lines
616 B
TOML
26 lines
616 B
TOML
[package]
|
|
name = "core-cooldown"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "core_cooldown_lib"
|
|
crate-type = ["lib", "staticlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = ["tray-icon", "custom-protocol"] }
|
|
tauri-plugin-shell = "2"
|
|
tauri-plugin-notification = "2"
|
|
tauri-plugin-global-shortcut = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
dirs = "5"
|
|
chrono = "0.4"
|
|
anyhow = "1"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["winuser", "sysinfoapi", "windef", "shellapi"] }
|