2021-04-05 20:51:17 +03:00
|
|
|
[package]
|
|
|
|
name = "updater-example"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "A very simple Tauri Appplication"
|
2021-10-22 16:04:42 +03:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.56"
|
2021-04-11 01:09:09 +03:00
|
|
|
license = "Apache-2.0 OR MIT"
|
2021-04-05 20:51:17 +03:00
|
|
|
|
|
|
|
[build-dependencies]
|
2021-04-30 21:16:14 +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" ] }
|
2021-04-30 21:16:14 +03:00
|
|
|
tauri = { path = "../../../core/tauri", features = ["api-all", "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"
|