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-10-17 17:08:15 +03:00
|
|
|
rust-version = "1.70"
|
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]
|
2024-05-24 14:23:41 +03:00
|
|
|
tauri-build = { path = "../../../core/tauri-build", features = [
|
|
|
|
"codegen",
|
|
|
|
"isolation",
|
|
|
|
] }
|
2021-03-13 04:10:19 +03:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
serde_json = "1.0"
|
2024-05-24 14:23:41 +03:00
|
|
|
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-02-06 14:56:00 +03:00
|
|
|
tauri-plugin-sample = { path = "./tauri-plugin-sample/" }
|
2023-04-16 15:31:38 +03:00
|
|
|
|
2022-06-28 15:59:13 +03:00
|
|
|
[dependencies.tauri]
|
|
|
|
path = "../../../core/tauri"
|
|
|
|
features = [
|
2023-05-13 13:48:28 +03:00
|
|
|
"protocol-asset",
|
2024-02-29 15:05:11 +03:00
|
|
|
"image-ico",
|
|
|
|
"image-png",
|
2022-06-28 15:59:13 +03:00
|
|
|
"isolation",
|
|
|
|
"macos-private-api",
|
2024-05-24 14:23:41 +03:00
|
|
|
"tray-icon",
|
2022-06-28 15:59:13 +03:00
|
|
|
]
|
|
|
|
|
2023-06-15 15:52:33 +03:00
|
|
|
[dev-dependencies.tauri]
|
|
|
|
path = "../../../core/tauri"
|
|
|
|
features = ["test"]
|
|
|
|
|
2021-03-13 04:10:19 +03:00
|
|
|
[features]
|
2024-05-24 14:23:41 +03:00
|
|
|
prod = ["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"
|