2022-12-07 05:22:18 -05:00
|
|
|
[package]
|
|
|
|
name = "chatgpt"
|
|
|
|
version = "0.0.0"
|
|
|
|
authors = ["lencx <cxin1314@gmail.com>"]
|
|
|
|
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]
|
2022-12-07 07:02:31 -05:00
|
|
|
tauri-build = {version = "1.2.1", features = [] }
|
2022-12-07 05:22:18 -05:00
|
|
|
|
|
|
|
[dependencies]
|
2022-12-11 12:32:41 -05:00
|
|
|
anyhow = "1.0.66"
|
2022-12-07 05:22:18 -05:00
|
|
|
serde_json = "1.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2022-12-28 12:41:22 -05:00
|
|
|
tauri = { version = "1.2.3", features = ["api-all", "devtools", "global-shortcut", "system-tray", "updater"] }
|
2022-12-10 09:25:29 -05:00
|
|
|
tauri-plugin-positioner = { version = "1.0.4", features = ["system-tray"] }
|
2022-12-17 22:50:34 -05:00
|
|
|
log = "0.4.17"
|
2022-12-18 13:56:53 -05:00
|
|
|
csv = "1.1.6"
|
|
|
|
thiserror = "1.0.38"
|
2022-12-23 02:27:05 -05:00
|
|
|
walkdir = "2.3.2"
|
2022-12-24 07:04:14 -05:00
|
|
|
regex = "1.7.0"
|
2022-12-29 06:29:33 -05:00
|
|
|
tokio = { version = "1.23.0", features = ["macros"] }
|
2022-12-31 04:59:55 -05:00
|
|
|
reqwest = "0.11.13"
|
2022-12-31 07:07:09 -05:00
|
|
|
wry = "0.23.4"
|
2022-12-17 22:50:34 -05:00
|
|
|
|
|
|
|
[dependencies.tauri-plugin-log]
|
|
|
|
git = "https://github.com/tauri-apps/tauri-plugin-log"
|
|
|
|
branch = "dev"
|
|
|
|
features = ["colored"]
|
2022-12-07 05:22:18 -05:00
|
|
|
|
|
|
|
[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" ]
|
2022-12-07 22:45:44 -05:00
|
|
|
|
|
|
|
# fix: mac v1.2.0 can not copy/paste
|
|
|
|
# https://github.com/tauri-apps/tauri/issues/5669
|
|
|
|
[profile.release]
|
|
|
|
strip = true
|
|
|
|
lto = true
|
2022-12-26 22:34:16 -05:00
|
|
|
opt-level = "s"
|