mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 15:46:39 +08:00
46 lines
1.3 KiB
TOML
46 lines
1.3 KiB
TOML
[package]
|
|
name = "nextchat"
|
|
version = "0.1.0"
|
|
description = "A cross platform app for LLM ChatBot."
|
|
authors = ["GPTsMotion Tech LLC"]
|
|
license = "mit"
|
|
repository = ""
|
|
default-run = "nextchat"
|
|
edition = "2021"
|
|
rust-version = "1.71"
|
|
|
|
[lib]
|
|
name = "nextchat"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.0.0-rc", features = [] }
|
|
|
|
[dependencies]
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
log = "0.4"
|
|
tauri = { version = "2.0.0-rc.15", features = [] }
|
|
tauri-plugin-log = "2.0.0-rc"
|
|
tauri-plugin-http = "2.0.0-rc"
|
|
|
|
|
|
# Optimize for smaller binary size
|
|
[profile.release]
|
|
panic = "abort" # Strip expensive panic clean-up logic
|
|
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
|
|
lto = true # Enables link to optimizations
|
|
opt-level = "s" # Optimize for binary size
|
|
strip = true # Remove debug symbols
|
|
|
|
[features]
|
|
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
|
|
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
|
|
# DO NOT REMOVE!!
|
|
custom-protocol = ["tauri/custom-protocol"]
|
|
|
|
|
|
|