Cargo.toml 756 B

123456789101112131415161718192021222324252627
  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", "icon-ico", "icon-png", "isolation", "macos-private-api", "system-tray", "updater"] }
  14. [features]
  15. default = [ "custom-protocol" ]
  16. custom-protocol = [ "tauri/custom-protocol" ]
  17. # default to small, optimized release binaries
  18. [profile.release]
  19. panic = "abort"
  20. codegen-units = 1
  21. lto = true
  22. incremental = false
  23. opt-level = "s"