mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-08 12:18:55 +03:00
d1e77acd8d
* refactor!(core): remove `Icon` enum and add `Image` type * clippy * revert api example config change * Update image.rs * fix build * clippy * change files * add back removed methods as setter functions * simplify error message * Update .changes/runtime-icon-lifetime.md * Update .changes/ico-featrue-flags.md * Update core/tauri/src/image.rs * update api lockfile * update api ref * lint --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
48 lines
969 B
TOML
48 lines
969 B
TOML
[package]
|
|
name = "api"
|
|
version = "0.1.0"
|
|
description = "An example Tauri Application showcasing the api"
|
|
edition = "2021"
|
|
rust-version = "1.70"
|
|
license = "Apache-2.0 OR MIT"
|
|
|
|
[lib]
|
|
name = "api_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { path = "../../../core/tauri-build", features = ["codegen", "isolation"] }
|
|
|
|
[dependencies]
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = [ "derive" ] }
|
|
tiny_http = "0.11"
|
|
log = "0.4"
|
|
tauri-plugin-sample = { path = "./tauri-plugin-sample/" }
|
|
|
|
[dependencies.tauri]
|
|
path = "../../../core/tauri"
|
|
features = [
|
|
"protocol-asset",
|
|
"image-ico",
|
|
"image-png",
|
|
"isolation",
|
|
"macos-private-api",
|
|
"tray-icon"
|
|
]
|
|
|
|
[dev-dependencies.tauri]
|
|
path = "../../../core/tauri"
|
|
features = ["test"]
|
|
|
|
[features]
|
|
prod = [ "tauri/custom-protocol" ]
|
|
|
|
# default to small, optimized release binaries
|
|
[profile.release]
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
lto = true
|
|
incremental = false
|
|
opt-level = "s"
|