2021-04-05 20:51:17 +03:00
|
|
|
[package]
|
|
|
|
name = "updater-example"
|
|
|
|
version = "0.1.0"
|
2022-05-27 11:06:11 +03:00
|
|
|
description = "A very simple Tauri Application"
|
2021-10-22 16:04:42 +03:00
|
|
|
edition = "2021"
|
2022-01-17 16:46:14 +03:00
|
|
|
rust-version = "1.57"
|
2021-04-11 01:09:09 +03:00
|
|
|
license = "Apache-2.0 OR MIT"
|
2021-04-05 20:51:17 +03:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-01-09 22:40:22 +03:00
|
|
|
tauri-build = { path = "../../../core/tauri-build", features = ["codegen"] }
|
2021-04-05 20:51:17 +03:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
serde_json = "1.0"
|
|
|
|
serde = { version = "1.0", features = [ "derive" ] }
|
2022-02-06 16:50:45 +03:00
|
|
|
tauri = { path = "../../../core/tauri", features = ["updater"] }
|
2021-04-05 20:51:17 +03:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = [ "custom-protocol" ]
|
|
|
|
custom-protocol = [ "tauri/custom-protocol" ]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "updater-example"
|
|
|
|
path = "src/main.rs"
|
2021-12-10 00:26:44 +03:00
|
|
|
|
|
|
|
# default to small, optimized release binaries
|
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|
|
|
|
codegen-units = 1
|
|
|
|
lto = true
|
|
|
|
incremental = false
|
|
|
|
opt-level = "s"
|