123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- [package]
- name = "api"
- version = "0.1.0"
- description = "An example Tauri Application showcasing the api"
- edition = "2021"
- rust-version = "1.57"
- license = "Apache-2.0 OR MIT"
- [build-dependencies]
- tauri-build = { path = "../../../core/tauri-build", features = ["isolation"] }
- [dependencies]
- serde_json = "1.0"
- serde = { version = "1.0", features = [ "derive" ] }
- tiny_http = "0.11"
- [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"
- ]
- [target."cfg(target_os = \"windows\")".dependencies]
- window-vibrancy = "0.1"
- window-shadows= "0.1"
- [features]
- default = [ "custom-protocol" ]
- custom-protocol = [ "tauri/custom-protocol" ]
- # default to small, optimized release binaries
- [profile.release]
- panic = "abort"
- codegen-units = 1
- lto = true
- incremental = false
- opt-level = "s"
|