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"
|
2023-05-06 23:16:52 +03:00
|
|
|
rust-version = "1.65"
|
2021-04-11 01:09:09 +03:00
|
|
|
license = "Apache-2.0 OR MIT"
|
2021-03-13 04:10:19 +03:00
|
|
|
|
2022-08-15 19:24:26 +03:00
|
|
|
[lib]
|
2023-05-13 13:48:28 +03:00
|
|
|
name = "api_lib"
|
2022-08-15 19:24:26 +03:00
|
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
|
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"
|
2023-01-17 19:13:53 +03:00
|
|
|
log = "0.4"
|
2023-04-16 15:31:38 +03:00
|
|
|
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "next" }
|
2023-02-06 14:56:00 +03:00
|
|
|
tauri-plugin-sample = { path = "./tauri-plugin-sample/" }
|
2023-04-16 15:31:38 +03:00
|
|
|
|
|
|
|
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
|
2023-04-14 21:33:53 +03:00
|
|
|
tauri-plugin-cli = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "next" }
|
2023-01-30 17:54:02 +03:00
|
|
|
|
2023-03-20 15:06:49 +03:00
|
|
|
[patch.crates-io]
|
2023-01-30 17:54:02 +03:00
|
|
|
tauri = { path = "../../../core/tauri" }
|
2023-02-24 00:01:17 +03:00
|
|
|
tauri-build = { path = "../../../core/tauri-build" }
|
2021-03-13 04:10:19 +03:00
|
|
|
|
2023-04-16 15:20:58 +03:00
|
|
|
[patch.'https://github.com/tauri-apps/tauri']
|
|
|
|
tauri = { path = "../../../core/tauri" }
|
|
|
|
tauri-build = { path = "../../../core/tauri-build" }
|
|
|
|
|
2022-06-28 15:59:13 +03:00
|
|
|
[dependencies.tauri]
|
|
|
|
path = "../../../core/tauri"
|
|
|
|
features = [
|
2023-05-13 13:48:28 +03:00
|
|
|
"protocol-asset",
|
2022-06-28 15:59:13 +03:00
|
|
|
"icon-ico",
|
|
|
|
"icon-png",
|
|
|
|
"isolation",
|
|
|
|
"macos-private-api",
|
2023-05-10 02:43:31 +03:00
|
|
|
"system-tray"
|
2022-06-28 15:59:13 +03:00
|
|
|
]
|
|
|
|
|
2023-06-15 15:52:33 +03:00
|
|
|
[dev-dependencies.tauri]
|
|
|
|
path = "../../../core/tauri"
|
|
|
|
features = ["test"]
|
|
|
|
|
2022-07-04 04:15:23 +03:00
|
|
|
[target."cfg(target_os = \"windows\")".dependencies]
|
2022-08-03 00:32:15 +03:00
|
|
|
window-shadows= "0.2"
|
2022-07-04 04:15:23 +03:00
|
|
|
|
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"
|