2021-03-13 04:10:19 +03:00
|
|
|
[package]
|
|
|
|
name = "api"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "An example Tauri Application showcasing the api"
|
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-03-13 04:10:19 +03:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-01-17 16:46:14 +03:00
|
|
|
tauri-build = { path = "../../../core/tauri-build", features = ["isolation"] }
|
2021-03-13 04:10:19 +03:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
serde_json = "1.0"
|
|
|
|
serde = { version = "1.0", features = [ "derive" ] }
|
2022-04-23 02:04:58 +03:00
|
|
|
tiny_http = "0.11"
|
2021-03-13 04:10:19 +03:00
|
|
|
|
2022-06-28 15:59:13 +03:00
|
|
|
[dependencies.tauri]
|
|
|
|
path = "../../../core/tauri"
|
|
|
|
features = [
|
|
|
|
"api-all",
|
|
|
|
"cli",
|
|
|
|
"global-shortcut",
|
|
|
|
"http-multipart",
|
|
|
|
"icon-ico",
|
|
|
|
"icon-png",
|
|
|
|
"isolation",
|
|
|
|
"macos-private-api",
|
|
|
|
"windows7-compat",
|
|
|
|
"reqwest-client",
|
|
|
|
"system-tray",
|
|
|
|
"updater"
|
|
|
|
]
|
|
|
|
|
2022-07-04 04:15:23 +03:00
|
|
|
[target."cfg(target_os = \"windows\")".dependencies]
|
|
|
|
window-vibrancy = "0.1"
|
|
|
|
window-shadows= "0.1"
|
|
|
|
|
2021-03-13 04:10:19 +03:00
|
|
|
[features]
|
2022-06-02 20:42:15 +03:00
|
|
|
default = [ "custom-protocol" ]
|
2021-03-13 04:10:19 +03:00
|
|
|
custom-protocol = [ "tauri/custom-protocol" ]
|
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"
|