Cargo.toml 830 B

12345678910111213141516171819202122232425262728
  1. [package]
  2. name = "api"
  3. version = "0.1.0"
  4. description = "An example Tauri Application showcasing the api"
  5. edition = "2021"
  6. rust-version = "1.57"
  7. license = "Apache-2.0 OR MIT"
  8. [build-dependencies]
  9. tauri-build = { path = "../../../core/tauri-build", features = ["isolation"] }
  10. [dependencies]
  11. serde_json = "1.0"
  12. serde = { version = "1.0", features = [ "derive" ] }
  13. tauri = { path = "../../../core/tauri", features = ["api-all", "cli", "global-shortcut", "http-multipart", "icon-ico", "icon-png", "isolation", "macos-private-api", "reqwest-client", "system-tray", "updater"] }
  14. tiny_http = "0.11"
  15. [features]
  16. default = [ "custom-protocol" ]
  17. custom-protocol = [ "tauri/custom-protocol" ]
  18. # default to small, optimized release binaries
  19. [profile.release]
  20. panic = "abort"
  21. codegen-units = 1
  22. lto = true
  23. incremental = false
  24. opt-level = "s"