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-09-28 20:33:35 +03:00
|
|
|
rust-version = "1.59"
|
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-08-15 00:39:35 +03:00
|
|
|
tauri-build = { path = "../../../core/tauri-build", features = ["codegen", "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]
|
2022-08-03 00:32:15 +03:00
|
|
|
window-vibrancy = "0.2"
|
|
|
|
window-shadows= "0.2"
|
2022-07-04 04:15:23 +03:00
|
|
|
|
2022-08-10 22:30:07 +03:00
|
|
|
[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
|
|
|
|
log = "0.4"
|
|
|
|
tauri-runtime-wry = { path = "../../../core/tauri-runtime-wry/" }
|
|
|
|
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
|
|
android_logger = "0.9.0"
|
|
|
|
jni = "0.19.0"
|
|
|
|
paste = "1.0"
|
|
|
|
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
|
|
|
mobile-entry-point = "0.1.0"
|
|
|
|
env_logger = "0.9.0"
|
|
|
|
|
2021-03-13 04:10:19 +03:00
|
|
|
[features]
|
|
|
|
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"
|