Files
DeEarthX/front/src-tauri/Cargo.toml
2026-02-14 12:49:52 +00:00

30 lines
1.5 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[package]
name = "dex-v3-ui" # 包名称
version = "0.1.0" # 版本号
description = "A Tauri App" # 包描述
authors = ["you"] # 作者信息
edition = "2021" # Rust 版本2021 edition
# 更多配置说明请参考: https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
# `_lib` 后缀看起来多余,但它是必要的
# 目的是使库名称唯一,避免与二进制名称冲突
# 这个问题主要出现在 Windows 平台上,具体参见: https://github.com/rust-lang/cargo/issues/8519
name = "dex_v3_ui_lib" # 库名称(添加 _lib 后缀避免冲突)
crate-type = ["staticlib", "cdylib", "rlib"] # 编译生成的库类型
[build-dependencies]
# 构建时依赖(用于 Tauri 的构建脚本)
tauri-build = { version = "2", features = [] } # Tauri 构建工具
[dependencies]
# 运行时依赖
tauri = { version = "2", features = [] } # Tauri 核心框架
tauri-plugin-opener = "2" # 打开外部程序/文件的插件
serde = { version = "1", features = ["derive"] } # 序列化/反序列化框架
serde_json = "1" # JSON 处理库
open = "5.3.2" # 跨平台打开文件/URL 的库
tauri-plugin-store = "2" # 本地数据存储插件
tauri-plugin-shell = "2" # Shell 命令执行插件
tauri-plugin-notification = "2" # 系统通知插件