60 lines
1.9 KiB
TOML
60 lines
1.9 KiB
TOML
[package]
|
||
authors = ["you"]
|
||
description = "A Tauri App For Live2d"
|
||
edition = "2021"
|
||
license = "MIT"
|
||
name = "live2d"
|
||
repository = "https://github.com/itxve/tauri-live2d"
|
||
rust-version = "1.65.0"
|
||
version = "1.0.0"
|
||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||
|
||
[build-dependencies]
|
||
tauri-build = { version = "2", features = [] }
|
||
|
||
[dependencies]
|
||
anyhow = "1.0.66"
|
||
async-trait = "0.1"
|
||
auto-launch = "0.4.0"
|
||
bytemuck = "1.13"
|
||
chrono = "0.4"
|
||
glob = "0.3.1"
|
||
log = "0.4.17"
|
||
ndarray = "0.15"
|
||
notify = {version = "5.0.0", features = ["serde"] }
|
||
rand = "0.8"
|
||
rusqlite = { version = "0.29", features = ["bundled"] }
|
||
serde = {version = "1.0", features = ["derive"] }
|
||
serde_json = "1.0"
|
||
tauri = { version = "2.11.1", features = ["protocol-asset", "tray-icon", "image-png"] }
|
||
tauri-plugin-dialog = "2"
|
||
tauri-plugin-clipboard-manager = "2"
|
||
tauri-plugin-notification = "2"
|
||
thiserror = "1.0"
|
||
regex = "1"
|
||
tokio = {version = "1.23.0", features = ["macros", "rt-multi-thread", "time", "process", "fs", "io-util"] }
|
||
uuid = { version = "1.0", features = ["v4"] }
|
||
web_server= {path = "./web_server"}
|
||
|
||
# 云端 LLM HTTP 客户端
|
||
# - reqwest: 异步 HTTP 客户端,rustls-tls 避免 OpenSSL 依赖
|
||
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] }
|
||
base64 = "0.21"
|
||
image = { version = "0.24.9", features = ["png", "jpeg"] }
|
||
zbus = { version = "5", default-features = false, features = ["tokio"] }
|
||
ashpd = { version = "0.11", default-features = false, features = ["tokio"] }
|
||
|
||
[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"]
|
||
|
||
[profile.release]
|
||
lto = true
|
||
opt-level = "z"
|
||
strip = true
|