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-01-29 21:08:27 +03:00
|
|
|
rust-version = "1.64"
|
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]
|
|
|
|
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-01-30 17:54:02 +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-01-30 17:54:02 +03:00
|
|
|
|
|
|
|
[patch.'https://github.com/tauri-apps/tauri']
|
|
|
|
tauri = { path = "../../../core/tauri" }
|
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"
|
|
|
|
]
|
|
|
|
|
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"
|