[package] name = "chatgpt" version = "0.0.0" authors = ["lencx "] description = "ChatGPT Desktop Application" repository = "https://github.com/lencx/ChatGPT" license = "MIT" edition = "2021" rust-version = "1.57" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] tauri-build = {version = "1.2.1", features = [] } [dependencies] anyhow = "1.0.66" serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } tauri = { version = "1.2.2", features = ["api-all", "devtools", "system-tray", "updater"] } tauri-plugin-positioner = { version = "1.0.4", features = ["system-tray"] } [features] # by default Tauri runs in production mode # when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL default = [ "custom-protocol" ] # this feature is used used for production builds where `devPath` points to the filesystem # DO NOT remove this custom-protocol = [ "tauri/custom-protocol" ] # fix: mac v1.2.0 can not copy/paste # https://github.com/tauri-apps/tauri/issues/5669 [profile.release] strip = true lto = true opt-level = "z"