Cargo.toml 884 B

1234567891011121314151617181920212223242526272829
  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", "tauri/ayatana-tray" ]
  17. custom-protocol = [ "tauri/custom-protocol" ]
  18. gtk-tray = [ "tauri/gtk-tray" ]
  19. # default to small, optimized release binaries
  20. [profile.release]
  21. panic = "abort"
  22. codegen-units = 1
  23. lto = true
  24. incremental = false
  25. opt-level = "s"