增加注释

This commit is contained in:
2026-02-14 12:49:52 +00:00
parent 3b0635af44
commit 573c1861b0

View File

@@ -1,29 +1,30 @@
[package]
name = "dex-v3-ui"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
edition = "2021"
name = "dex-v3-ui" # 包名称
version = "0.1.0" # 版本号
description = "A Tauri App" # 包描述
authors = ["you"] # 作者信息
edition = "2021" # Rust 版本2021 edition
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# 更多配置说明请参考: https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "dex_v3_ui_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
# `_lib` 后缀看起来多余,但它是必要的
# 目的是使库名称唯一,避免与二进制名称冲突
# 这个问题主要出现在 Windows 平台上,具体参见: https://github.com/rust-lang/cargo/issues/8519
name = "dex_v3_ui_lib" # 库名称(添加 _lib 后缀避免冲突)
crate-type = ["staticlib", "cdylib", "rlib"] # 编译生成的库类型
[build-dependencies]
tauri-build = { version = "2", features = [] }
# 构建时依赖(用于 Tauri 的构建脚本)
tauri-build = { version = "2", features = [] } # Tauri 构建工具
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
open = "5.3.2"
tauri-plugin-store = "2"
tauri-plugin-shell = "2"
tauri-plugin-notification = "2"
# 运行时依赖
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" # 系统通知插件